Removing list styles without affecting semantics. | Manuel Matuzoviฤ‡

A simple tweak that simplifies the common approach to "lists that don't look like lists" with HTML/CSS and sidesteps any semantic/accessibility concerns. Neat!

you can use a string as the value of the `list-style-type` property.
ul { 
    list-style-type: "";
}

Explore Other Notes

  • A simple tweak that simplifies the common approach to "lists that don't look like lists" with HTML/CSS and sidesteps any semantic/accessibility concerns. […]
  • Murray Adcock.
Journal permalink