Last active
January 21, 2021 17:42
-
-
Save julientaq/8470a3718ead37de5a1b22fc5f6a143b to your computer and use it in GitHub Desktop.
Custom emoji markers with 1 custom property
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
/** | |
* Custom emoji markers with 1 custom property | |
*/ | |
ul { | |
color: red; | |
} | |
li { | |
color:orange; | |
} | |
.con::marker { | |
content: "2"; | |
} | |
.pros-cons { | |
--marker: "๐๐ผ"; | |
} | |
.con { | |
--marker: "๐๐ผ"; | |
} |
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> | |
<li><ul> with no --marker specified</li> | |
<li>Second item</li> | |
<li style="--marker: '๐ฅณ'">Inline --marker</li> | |
</ul> | |
<ol> | |
<li><ol> with no --marker specified</li> | |
<li>Second item</li> | |
</ol> | |
<ul class="pros-cons"><li class="con">con</li><li>pro</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
// 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 characters
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment