Created
August 25, 2015 01:28
-
-
Save finteractive/e109577799b88b0a8aac to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
/* Variables */ | |
$font-stack: Helvetica, sans-serif; | |
$primary-color: #333; | |
body { | |
font: 100% $font-stack; | |
color: $primary-color; | |
} | |
/* Nesting */ | |
nav { | |
ul { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
li { display: inline-block; } | |
a { | |
display: block; | |
padding: 6px 12px; | |
text-decoration: none; | |
} | |
} | |
/*Mixins*/ | |
@mixin border-radius($radius) { | |
-webkit-border-radius: $radius; | |
-moz-border-radius: $radius; | |
-ms-border-radius: $radius; | |
border-radius: $radius; | |
} | |
.box { @include border-radius(10px); } | |
/* Extends */ | |
.message { | |
border: 1px solid #ccc; | |
padding: 10px; | |
color: #333; | |
} | |
.success { | |
@extend .message; | |
border-color: green; | |
} | |
.error { | |
@extend .message; | |
border-color: red; | |
} | |
.warning { | |
@extend .message; | |
border-color: yellow; | |
} |
This file contains hidden or 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
/* Variables */ | |
body { | |
font: 100% Helvetica, sans-serif; | |
color: #333; | |
} | |
/* Nesting */ | |
nav ul { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
nav li { | |
display: inline-block; | |
} | |
nav a { | |
display: block; | |
padding: 6px 12px; | |
text-decoration: none; | |
} | |
/*Mixins*/ | |
.box { | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
-ms-border-radius: 10px; | |
border-radius: 10px; | |
} | |
/* Extends */ | |
.message, .success, .error, .warning { | |
border: 1px solid #ccc; | |
padding: 10px; | |
color: #333; | |
} | |
.success { | |
border-color: green; | |
} | |
.error { | |
border-color: red; | |
} | |
.warning { | |
border-color: yellow; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment