Skip to content

Instantly share code, notes, and snippets.

@282714
Created June 8, 2016 11:14
Show Gist options
  • Save 282714/67eac4690ae264c06ffde51d094dac76 to your computer and use it in GitHub Desktop.
Save 282714/67eac4690ae264c06ffde51d094dac76 to your computer and use it in GitHub Desktop.
.container{
width: 50%;
margin: auto;
background-color: black;
>div{
display: inline-block;
width: calc(100%/4);
height: 100px;
line-height: 100px;
vertical-align: middle;
background-color: #9964a8;
text-align: center;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment