Created
May 4, 2015 12:39
-
-
Save edbentinck/487fbee21edceb11f7e9 to your computer and use it in GitHub Desktop.
Revisions
-
edbentinck created this gist
May 4, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ // ---- // Sass (v3.4.13) // Compass (v1.0.3) // ---- .form { color: black; &__label { font-weight: bold; } &__input { display: block; height: 34px; padding: 6px 12px; font-size: 14px; color: #555; // more styles } } .form--participate { color: red; // any style modifications can go right inside this block .form { &__label { font-weight: normal; } &__input { height: 40px; } } } This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ .form { color: black; } .form__label { font-weight: bold; } .form__input { display: block; height: 34px; padding: 6px 12px; font-size: 14px; color: #555; } .form--participate { color: red; } .form--participate .form__label { font-weight: normal; } .form--participate .form__input { height: 40px; }