Last active
March 9, 2016 20:15
-
-
Save jedfoster/8fce8042fd18185b92e2 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains 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
p.intro Intro text | |
p Not intro text | |
blockquote | |
p Blockquote text | |
hr | |
a | |
img(src='http://placehold.it/350x150') | |
hr | |
ul | |
li List item | |
li | |
p List paragraph | |
li List item | |
hr | |
p.alert Alert text |
This file contains 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
p:not(.intro) { font-weight: bold; } | |
p:not(.intro, blockquote) { font-weight: bold; } | |
a:has( > img ) { border: 2px solid #000; } | |
li:not(:has(p)) { padding-bottom: 1em; } | |
p:matches(.alert, .error, .warn) { color: red; } |
This file contains 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
p:not(.intro) { | |
font-weight: bold; | |
} | |
p:not(.intro, blockquote) { | |
font-weight: bold; | |
} | |
a:has( > img) { | |
border: 2px solid #000; | |
} | |
li:not(:has(p)) { | |
padding-bottom: 1em; | |
} | |
p:matches(.alert, .error, .warn) { | |
color: red; | |
} |
This file contains 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
<p class="intro">Intro text</p> | |
<p>Not intro text</p> | |
<blockquote> | |
<p>Blockquote text</p> | |
</blockquote> | |
<hr/><a><img src="http://placehold.it/350x150"/></a> | |
<hr/> | |
<ul> | |
<li>List item</li> | |
<li> | |
<p>List paragraph</p> | |
</li> | |
<li>List item</li> | |
</ul> | |
<hr/> | |
<p class="alert">Alert text</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment