Last active
June 7, 2019 14:37
-
-
Save starryeyez024/29431055d75d2d27b915bffd2acdd03e 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
<br/> | |
<p> | |
<a>regular link</a> | |
</p> | |
<div class=""> | |
<a>no class</a> | |
</div> | |
<div class="primary"> | |
<a>primary</a> | |
</div> | |
<div class="secondary"> | |
<a>secondary</a> | |
</div> |
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.5.4) | |
// ---- | |
// add browser defaults back to sassmeister | |
a { | |
color: -webkit-link; | |
cursor: pointer; | |
text-decoration: underline; | |
} | |
//all links inside of divs match one rule or the other: | |
div:not([class="primary"]) a, | |
div:not([class="secondary"]) a { | |
text-decoration: none; } |
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
a { | |
color: -webkit-link; | |
cursor: pointer; | |
text-decoration: underline; | |
} | |
div:not([class="primary"]) a, | |
div:not([class="secondary"]) a { | |
text-decoration: none; | |
} |
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
<br/> | |
<p> | |
<a>regular link</a> | |
</p> | |
<div class=""> | |
<a>no class</a> | |
</div> | |
<div class="primary"> | |
<a>primary</a> | |
</div> | |
<div class="secondary"> | |
<a>secondary</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment