Home  >  Article  >  Web Front-end  >  给li加下边框的问题_html/css_WEB-ITnose

给li加下边框的问题_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:40:462624browse

前面的点就是li默认会有的,怎么使边框连那个点也套进去?
只要下边框。
效果应该是每一个li底部都有一条1px的线条,线条的前端超过圆点前面1px,后端超过字5px。四个字为一排,当字数超过四个字后自动换行。

这个css要怎么写?

回复讨论(解决方案)

list-style-type:none 可以去掉,至于怎么去掉,暂时还不清楚;
边框问题的话,设置li:border-top border-right border-left 为none就行了

list-style-type:none 可以去掉,至于怎么去掉,暂时还不清楚;
边框问题的话,设置li:border-top border-right border-left 为none就行了

说错了,至于怎么移动,还不知道

最后还是把点去了,然后自己放了张图上去= =
其实用Menu的img也行,但是那个不好控制items的点击事件,最后还是用的ul


      
  • 给li加下边框的问题_html/css_WEB-ITnosexx



Statement:
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