List style
noun
say it: “LIST STYLE” /lɪst staɪl/
The CSS shorthand that sets a list's markers in one line: their type, where they sit, and a picture to use instead. A part you leave out goes back to its default, and list-style: none takes the markers away.
What does list-style do?
list-style sets the bullet or numbering of a list, or removes it.
.nav-menu { list-style: none; padding: 0; }
In a sentence
- “I wrote list-style: none on the menu's list, and the bullets in front of the links disappeared.”
- “The recipe's numbers turned into bullets because my list-style line only said inside.”
Level: Apprentice · More CSS terms at this level
Updated