May 30, 2021 Article blog
Front-end development often uses
ul
li
for data presentation, and so on, where some common style modifications are documented
ul{list-style:none;}
li{float: left;}
What is specified here is a hollow circle
li{
/*float: left;*/
list-style-type: circle;
}
Here are the other types:
value | description |
---|---|
circle | Hollow circle |
none | Not used |
disc | By default, solid circles |
square | Solid squares |
decimal | Arabic numeral |
lower-roman | Lowercase Roman numerals |
upper-alpha | Capital letters |
li{
list-style-type:none;
list-style-image: url(url);
}
CSS writing:
HTML writing:
Click on the CSS sequenceless table online example online practice it