Last active
December 3, 2015 08:51
-
-
Save LostKobrakai/88ae7332bb3255f9edc5 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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 characters
| <ul class="breadcrumb"> | |
| <li class="breadcrumb__item">First</li> | |
| <li class="breadcrumb__item">Next</li> | |
| </ul> | |
| <ul class="breadcrumb2"> | |
| <li>First</li> | |
| <li>Next</li> | |
| </ul> | |
| <!-- Seems like the same, but it's not --> | |
| <ul class="breadcrumb"> | |
| <li class="breadcrumb__item">First</li> | |
| <li class="breadcrumb__item overwrite">Next</li> | |
| </ul> | |
| <ul class="breadcrumb2"> | |
| <li>First</li> | |
| <li class="overwrite">Next</li> | |
| </ul> |
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 characters
| // ---- | |
| // libsass (v3.2.5) | |
| // ---- | |
| .breadcrumb{ | |
| background: gray; | |
| &__item{ | |
| display: inline-block; | |
| background: red; // Specifity 10 | |
| &::after{ | |
| content: " \ "; | |
| } | |
| } | |
| } | |
| .breadcrumb2{ | |
| background: gray; | |
| & li{ | |
| display: inline-block; | |
| background: red; // Specifity 11 | |
| &::after{ | |
| content: " \ "; | |
| } | |
| } | |
| } | |
| .overwrite{ | |
| background: green; // Specifity 10 | |
| } |
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 characters
| .breadcrumb { | |
| background: gray; | |
| } | |
| .breadcrumb__item { | |
| display: inline-block; | |
| background: red; | |
| } | |
| .breadcrumb__item::after { | |
| content: " \ "; | |
| } | |
| .breadcrumb2 { | |
| background: gray; | |
| } | |
| .breadcrumb2 li { | |
| display: inline-block; | |
| background: red; | |
| } | |
| .breadcrumb2 li::after { | |
| content: " \ "; | |
| } | |
| .overwrite { | |
| background: green; | |
| } |
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 characters
| <ul class="breadcrumb"> | |
| <li class="breadcrumb__item">First</li> | |
| <li class="breadcrumb__item">Next</li> | |
| </ul> | |
| <ul class="breadcrumb2"> | |
| <li>First</li> | |
| <li>Next</li> | |
| </ul> | |
| <!-- Seems like the same, but it's not --> | |
| <ul class="breadcrumb"> | |
| <li class="breadcrumb__item">First</li> | |
| <li class="breadcrumb__item overwrite">Next</li> | |
| </ul> | |
| <ul class="breadcrumb2"> | |
| <li>First</li> | |
| <li class="overwrite">Next</li> | |
| </ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment