Skip to content

Instantly share code, notes, and snippets.

@santhosh-chinnasamy
Created January 1, 2019 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save santhosh-chinnasamy/51a69bdc3bc33578a881fa6624ce2573 to your computer and use it in GitHub Desktop.
Save santhosh-chinnasamy/51a69bdc3bc33578a881fa6624ce2573 to your computer and use it in GitHub Desktop.
@mixin transform($property) {
-webkit-transform: $property;
-ms-transform: $property;
transform: $property;
}
@mixin headline($size){
color: yellow;
font-size: $size+20;
}
.box
{
@include transform(rotate(30deg));
}
.headline
{
@include headline(20px); // size 20 is assigned to $size
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment