Last active
August 29, 2015 14:27
-
-
Save tdhsmith/f04510a8aaa722220b88 to your computer and use it in GitHub Desktop.
Revisions
-
tdhsmith revised this gist
Aug 10, 2015 . 1 changed file with 1 addition and 1 deletion.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 @@ -8,6 +8,6 @@ p.third:nth-of-type(3) { min-height: 100%; } p .not-last:nth-of-type(1) { font-weight: bold; } -
tdhsmith created this gist
Aug 10, 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,13 @@ /** * Nth-of-type and compound selectors demo */ p.third:nth-of-type(3) { background: #f06; background: linear-gradient(45deg, #f06, yellow); min-height: 100%; } p .not-last:nth-of-type(2) { font-weight: bold; } 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,4 @@ <!-- content to be placed inside <body>…</body> --> <p class="first not-last">I'm the first.</p> <p class="second not-last">I'm the second.</p> <p class="third">I'm the third.</p> 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 @@ // alert('Hello world!'); 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 @@ {"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}