Created
June 15, 2024 03:33
-
-
Save BananaAcid/11b1f9e41b22e1da6ade79e30c613f36 to your computer and use it in GitHub Desktop.
CSS UL with dash
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
ul.dash { | |
margin-left: .5em; | |
list-style-type: none; | |
> li { | |
text-indent: -.5em; | |
} | |
> li:before { | |
content: "- "; | |
text-indent: -.5em; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment