This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
index/css/background.css

36 lines
649 B
CSS
Raw Normal View History

2022-01-11 15:28:00 +08:00
background {
position: fixed;
top: 0px;
height: 100vh;
z-index: 1;
}
@media screen and (max-width:1000px) {
background {
left: -241px;
width: 200%;
background-size: auto 100%;
background-position: 45%;
}
}
@media screen and (min-width:1000px) {
background {
left: -100px;
width: 120%;
background-size: 90% auto;
background-position: 40%;
}
}
background {
transition: all 700ms ease-out;
2022-02-15 12:08:40 +08:00
background-image: url(../bg.jpg);
2022-01-11 15:28:00 +08:00
background-repeat: no-repeat;
}
.about>background {
height: 100px;
background-size: auto auto !important;
}