Update style.css

pull/110/head
sayhi123 4 years ago committed by GitHub
parent cd228d507d
commit eb0d7205e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,17 +1,17 @@
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');##@import googleapis
* {
box-sizing: border-box;
box-sizing: border-box;## box-sizing
}
body {
font-family: 'Muli', sans-serif;
display: flex;
align-items: center;
justify-content: center;
display: flex;##,flex ,
align-items: center;##flexflex
justify-content: center;##
height: 100vh;
overflow: hidden;
margin: 0;
overflow: hidden;##,visible hidden
margin: 0;## 1 4
}
.container {
@ -22,15 +22,15 @@ body {
.panel {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-repeat: no-repeat;##
height: 80vh;
border-radius: 50px;
border-radius: 50px;##
color: #fff;
cursor: pointer;
cursor: pointer;##
flex: 0.5;
margin: 10px;
position: relative;
-webkit-transition: all 700ms ease-in;
-webkit-transition: all 700ms ease-in;## CSS(none|all|)
}
.panel h3 {
@ -39,10 +39,10 @@ body {
bottom: 20px;
left: 20px;
margin: 0;
opacity: 0;
opacity: 0;##
}
.panel.active {
.panel.active {## active
flex: 5;
}
@ -51,13 +51,13 @@ body {
transition: opacity 0.3s ease-in 0.4s;
}
@media (max-width: 480px) {
@media (max-width: 480px) {## ...(480)
.container {
width: 100vw;
}
.panel:nth-of-type(4),
.panel:nth-of-type(5) {
.panel:nth-of-type(5) {##nth-of-type(n) N
display: none;
}
}

Loading…
Cancel
Save