Skip to content

Instantly share code, notes, and snippets.

@waystilos
Created August 31, 2015 04:26
Show Gist options
  • Save waystilos/340362ff85cfe17316d2 to your computer and use it in GitHub Desktop.
Save waystilos/340362ff85cfe17316d2 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
//Mixin
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
border-radius: $radius;
background-clip: padding-box; /* stops bg color from leaking outside the border: */
}
// variables
//Colors
$white: #fff;
$black: #000000;
$red: #ff0000;
//Font Families
$arial: Arial, Helvetica, sans-serif;
$comic: "Comic Sans MS", cursive, sans-serif;
//////////Variables end/////////////
Parent Selector
.foo {
@include border-radius(4px);
}
////////Nesting End///////////
Parent Selector
.foo {
-webkit-border-radius: 4px;
border-radius: 4px;
background-clip: padding-box;
/* stops bg color from leaking outside the border: */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment