Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ----
- // Sass (v3.4.12)
- // Compass (v1.0.3)
- // ----
- // example1
- $color:red;
- .button{
- $color:blue;
- color:$color;
- &:hover{
- color:$color;
- }
- }
- .button-primary {
- color:$color;
- }
- // example
- .module{
- $primary-color:blue;
- color:$primary-color;
- .module-hd{
- $primary-color:lightblue;
- color:$primary-color;
- }
- .module-bd{
- color:$primary-color;
- }
- }
- // example !default
- $alert-bg-color:lightgreen;
- $alert-bg-color:lightblue !default;
- .alert{
- background:$alert-bg-color;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement