Skip to content

Instantly share code, notes, and snippets.

@myanmarlinks
Last active July 2, 2017 03:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save myanmarlinks/63f74e512900ced2823ec7ef5e99df02 to your computer and use it in GitHub Desktop.
CSS FlexBox Start
@import url('https://fonts.googleapis.com/css?family=Zilla+Slab');
body {
font-family: 'Zilla Slab', serif;
color: #111;
line-height: 1.2;
}
#container {
width: 1080px;
margin: 0 auto;
margin-top: 20px;
display: flex;
}
.box {
width: 213px;
height: 150px;
float: left;
padding: 20px;
background: #E3F2FD;
border: 1px solid #e3e3e3;
}
.box p {
width: 100%;
text-align: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment