How to remove the dot from lists

Been working away, and I can not figure out how to get rid of the "." before list elements, I can change the color of them easily enough, but to turn them of on a list displayed in a column seems impossible.

This is the css in question:

.vert ul {
    line-style-type: none;
    content: " ";
    text-align: center;
    color: pink;
}
.vert ul:befor {
    content: " ";
    color: blue;
}
.vert li:before {
    content: " ";
    color: orange;
}

Any link that uses vert as class then ends up pink, and with a .


line-style-type应该是list-style-type


Change

line-style-type: none 

to

list-style-type: none;

Just add:

list-style-type: none;

to ul elements.

链接地址: http://www.djcxy.com/p/29984.html

上一篇: 在Bootstrap 4中更改导航栏列表项目符号

下一篇: 如何从列表中删除点