list-style:none; list-style是设置列表项目(ol li)相关样式综合属性的样式(Style)。包括list-style-image(图像)list-style-position(位置)list-style-type(定义预设样式)。
基于28个网页-相关网页
不推荐。该属性设置列表项目的样式。当前可用的取值是为可视化用户代理准备的。有大小写信息的可能的取值在下面描述。
Deprecated. This attribute sets the style of a list item. Currently available values are intended for visual user agents. Possible values are described below (along with case information).
CSS呈现形式能使你在一行而不是一个分开的行中为每个列表项目设置列表。
CSS presentation styles allow us to set the list to run on one line instead of a separate line for each list item.
现在,我们要添加方法,这个方法会将这个列表设置成一个横行。我们需要给列表项目添加一个样式参考。
Now, we need to add the technique that will set this list into a horizontal line. We need to add a style reference to the list item itself.
应用推荐