Last active
August 29, 2015 14:16
-
-
Save sasivarnan/42fa82b912235007c442 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$first-var: #fff; | |
/* | |
@import 'sample'; | |
*/ | |
@mixin border-radius($radius){ | |
border-radius: $radius; | |
-ms-border-radius: $radius; | |
} | |
body{ | |
background: $first-var; | |
width: calc(25% - 5px); | |
} | |
.sample{ | |
background: #000; | |
&-code{ | |
color: #fff; | |
} | |
} | |
nav{ | |
ul{ | |
padding: 0px; | |
margin:0px; | |
li{ | |
padding-left: 10px; | |
@extend body; | |
@include border-radius(5px); | |
} | |
} | |
} | |
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
/* | |
@import 'sample'; | |
*/ | |
body, nav ul li { | |
background: #fff; | |
width: calc(25% - 5px); | |
} | |
.sample { | |
background: #000; | |
} | |
.sample-code { | |
color: #fff; | |
} | |
nav ul { | |
padding: 0px; | |
margin: 0px; | |
} | |
nav ul li { | |
padding-left: 10px; | |
border-radius: 5px; | |
-ms-border-radius: 5px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment