html的部分方法

xiaoxiao2021-02-28  25

1.<style>ul li a{text-decoration:none;}</style>

        可取消无序列表中的下划线

2.style="float: left;list-style: none

    可取消无序列表前的点

3.<style>ul li{margin:10px 0;}</style>

    样式表的margin属性是元素外侧到容器内侧的距离,四个边距的顺序是:上 右 下 左

转载请注明原文地址: https://www.6miu.com/read-2624769.html

最新回复(0)