Created
July 9, 2013 14:18
-
-
Save 4lun/5957695 to your computer and use it in GitHub Desktop.
Useful CSS class for wysiwyg areas
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
.wysiwyg li { | |
margin: 0 0 5px; | |
} | |
.wysiwyg ul, | |
.wysiwyg ol { | |
margin: 0 0 15px; | |
padding: 0 0 0 20px; | |
list-style-position: outside; | |
list-style-image: none; | |
& ol, | |
& ul { | |
margin-top: 5px; | |
} | |
} | |
.wysiwyg ul { | |
list-style-type: disc; | |
} | |
.wysiwyg ul ul { | |
list-style-type: circle; | |
} | |
.wysiwyg ul ul ul { | |
list-style-type: square; | |
} | |
.wysiwyg ol { | |
list-style-type: decimal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment