Advertisement
arxeiss

Sass

May 19th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.36 KB | None | 0 0
  1. @mixin clearfix($before, $after){
  2.     &:after{
  3.         content: '';
  4.         clear: both;
  5.         display: block;
  6.     }
  7. }
  8.  
  9. $link-color: #8bb62b;
  10. $link-hover-color: #96d30d;
  11. $container-font-size: 16px;
  12.  
  13. .container{
  14.     @include clearfix();
  15.     font-size: $container-font-size;
  16.  
  17.     a{
  18.         color: $link-color;
  19.         &:hover{
  20.             color: $link-hover-color;
  21.         }
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement