Created
June 24, 2017 20:13
-
-
Save tomrishworth/12b51c1729908e50c3cc29416b7dd7e9 to your computer and use it in GitHub Desktop.
CSS Utility classes
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
$bg-light: #f6f6f6; | |
$border-light: #ddd; | |
$text-light: #888; | |
$text-color: #666666; | |
// Containers | |
.container-xs { | |
max-width: 450px; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.container-sm { | |
max-width: 600px; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.container-md { | |
max-width: 800px; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.container-lg { | |
max-width: 1100px; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
// Colors | |
.primary { | |
color: $brand-primary; | |
} | |
.bg-light { | |
background-color: $bg-light; | |
} | |
// Borders | |
.border { | |
border: 1px solid #ddd; | |
} | |
.border-top { | |
border-top: 1px solid #ddd; | |
} | |
.border-right { | |
border-right: 1px solid #ddd; | |
} | |
.border-bottom { | |
border-bottom: 1px solid #ddd; | |
} | |
.border-left { | |
border-left: 1px solid #ddd; | |
} | |
.border-primary { | |
border-color: $brand-primary; | |
} | |
.line { | |
background-color: $border-light; | |
height: 2px; | |
width: 40px; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment