How to remove li points in css

藏色散人
Release: 2023-01-06 11:15:58
Original
4439 people have browsed it

How to remove li points in css: 1. Remove through "

  • xx
  • "; 2. Through "list- style-type:none;" method to remove; 3. Remove by setting class.

    How to remove li points in css

    The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.

    css remove li points

    Method one:

    <ul>
    <li style="list-style-type:none;">百度</li>
    <li style="list-style-type:none;">雅虎</li>
    <li style="list-style-type:none;">新浪</li>
    <li style="list-style-type:none;">谷歌</li>
    </ul>
    Copy after login

    Method two:

    <style>
    li {
    list-style-type:none;
    }
    </style>
    <ul>
    <li>百度</li>
    <li>雅虎</li>
    <li>新浪</li>
    <li>谷歌</li>
    </ul>
    Copy after login

    Method three:

    <style>
    .aa {
    list-style-type:none;
    }
    </style>
    <ul>
    <li class="aa">百度</li>
    <li class="aa">雅虎</li>
    <li class="aa">新浪</li>
    <li class="aa">谷歌</li>
    </ul>
    Copy after login

    How to remove li points in css

    Recommended study: "css video tutorial"

    The above is the detailed content of How to remove li points in css. For more information, please follow other related articles on the PHP Chinese website!

    Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template