Home  >  Article  >  Web Front-end  >  CSS changes font underline color_html/css_WEB-ITnose

CSS changes font underline color_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:42:121954browse

The picture below is a very common list on the web page.


When I went to see the customer this time, the customer felt that the color of the lines could change, and the webpage became uncomfortable (according to later, the customer went out when the customer went to school, and reported it. So I pay great attention to the layout and details of the website). I have been working on a website for so long, and this is the first time I want to change the underline color. The customer is God. When I made this request, I immediately checked the relevant information and found that the underline color changes with the font color and cannot be changed alone.

Um, what should we do?

There are always more solutions than difficulties, just use css border-bottom to change the text font underline color.

CSS code: style="border-bottom: 1px solid blue;text-decoration:none"


The effect is as shown below


It is best to remove the original underline, otherwise the underline will become unsightly. <🎜>

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