Skip to content

Instantly share code, notes, and snippets.

@jeremiahbiard
Created November 6, 2016 02:43
Show Gist options
  • Save jeremiahbiard/ea28127a68d4656052d07d1eef9665a1 to your computer and use it in GitHub Desktop.
Save jeremiahbiard/ea28127a68d4656052d07d1eef9665a1 to your computer and use it in GitHub Desktop.
Simple diy css framework for FCC front end projects.
* {
border: 1px solid red !important;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
.grid {
margin: 0 auto;
max-width: 1200px;
width: 100%;
}
.row {
width: 100%;
margin-bottom: 20px;
display: flex;
flex-wrap: wrap;
overflow: auto;
}
.hero {
text-align: center;
}
.name {
text-align: right;
}
.col-1 {
width: 8.33%;
}
.col-2 {
width: 16.66%;
}
.col-3 {
width: 25%;
}
.col-4 {
width: 33.33%;
}
.col-5 {
width: 41.66%;
}
.col-6 {
width: 50%;
}
.col-7 {
width: 58.33%;
}
.col-8 {
width: 66.66%;
}
.col-9 {
width: 75%;
}
.col-10 {
width: 83.33%;
}
.col-11 {
width: 91.66%;
}
.col-12 {
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment