HTML unordered lists are characterized by elements within a
list-style-type: circle;
Shapes aren’t the only options to choose from. You can use list-style-type: decimal to replace the default styling with sequential numbers, list-style-type: upper-latin for the default styling to be replaced with sequential letters (uppercase, for lowercase use lower-latin). You can also use upper-roman or lower-roman for sequential roman numerals (in upper or lower case, respectively). There’s also always the option to use list-style-type: none to get rid of the default styling all together.
Another way to customize the li elements of the
ul{
list-style-type: none;
}
li:before{
content: "^";
position: absolute;
}
No comments
Post a Comment