I found an article on the list-style-type property in CSS, but it doesn’t list the · (·) as an option, as opposed to the default disc or • (•). Is there a way to do this with HTML or CSS?
I found an article on the list-style-type property in CSS, but it doesn’t list
Share
CSS (works in any browser supporting
:beforeandcontent:):Caution: It is not a real list style. Therefore, when you have wrapped lists, it will look funny. This can perhaps be mitigated by a negative text-indent of a few units to get it to function more like a list-style.
Another implementation:
This version seems to work better. I often use
:beforeand:afterto add extra things like borders, but if you are adding a bullet I imagine that that is not the case. Even though this is the alternate suggestion, it is probably the preferred one.