CSS
String value as list-style-type
Up until today I've always used the ::before
pseudo element on the li
of a list to set a marker
for the list items other than the standard ones.
It turns out though that for quite a while the list-style-type
property also supports string values.
Using a dash as marker for list items is as simple as:
ul {
list-style-type: '- ';
}