怎么让li的那个点靠近文字一点呢?_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:30:25
Original
2145 people have browsed it

如上面的

怎么让li的那个点靠近文字一点呢?


回复讨论(解决方案)

一般那个点,不会采用li自身带的默认样式,而是拿背景图片来处理,因此只需修改背景的位置即可

background:url(图片) no-repeat 0 0; 这里的  0 0 就是控制位置的

应该是背景:再加上  background-position:left; padding-right:15px; 就可以了

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