Created
August 22, 2018 12:35
-
-
Save JYCN/b94512fbc2bc5a23232e848f44f4e5c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "utf-8"; | |
*{ | |
margin:0; | |
padding:0; | |
} | |
.main{ | |
width:860px; | |
height:174px; | |
background:linear-gradient(to top,#272727,#2F2F2F); | |
} | |
.body{ | |
align-content:center; | |
display:flex; | |
flex-direction:row; | |
justify-content:center; | |
align-items: center; | |
flex-wrap: wrap; | |
} | |
[class$="face"]{ | |
width:95px; | |
height:95px; | |
border-radius: 10%; | |
margin:6px; | |
padding:6px; | |
background-color: #E7E7E7; | |
object-fit:contain; | |
box-shadow:inset 0 5px white, | |
inset 0 -5px #bbb, | |
inset 5px 0 #d7d7d7, | |
inset -5px 0 #d7d7d7; | |
} | |
.circle{ | |
display:block; | |
width:14px; | |
height:14px; | |
border-radius: 50%; | |
margin:4px; | |
padding:6px; | |
flex-wrap:wrap; | |
background-color: #333333; | |
box-shadow:inset 0 3px #0E0E0E, | |
inset 0 -3px #565656; | |
} | |
.one-face{ | |
display:flex; | |
justify-content:center; | |
align-items:center; | |
} | |
.two-face{ | |
display:flex; | |
justify-content:space-between; | |
} | |
.two-face .circle:nth-child(2){ | |
align-self:flex-end; | |
} | |
.three-face{ | |
display:flex; | |
justify-content:space-between; | |
} | |
.three-face .circle:nth-child(2){ | |
align-self:center; | |
} | |
.three-face .circle:nth-child(3){ | |
align-self:flex-end; | |
} | |
.four-face{ | |
display:flex; | |
flex-wrap:wrap; | |
justify-content:space-between; | |
} | |
.four-face .column { | |
display: flex; | |
flex-basis: 100%; | |
justify-content: space-between; | |
} | |
.five-face{ | |
display:flex; | |
flex-wrap:wrap; | |
justify-content: space-between; | |
} | |
.five-face .column { | |
display: flex; | |
flex-basis: 100%; | |
justify-content: space-between; | |
} | |
.five-face .column:nth-child(2){ | |
justify-content: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment