Home  >  Article  >  Web Front-end  >  DIV border color problem_html/css_WEB-ITnose

DIV border color problem_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:38:381393browse


This is an ordinary text box I use

Style: .search_text{width:420px; height:30px; border-color :#33FFFF}

But the color of the top and left borders is darker. Could you please give me some guidance on what is going on? Thank you!


Reply to discussion (solution)

border-style:solid Set the border style

Thank you! Angry Rookie Thanks again

In order to set your own style for the input class, you can first set border:0px; and then set the border

The first type: border:1px solid #33FFFF, defined.
The second type: There is a layer outside the input, such as p, set input border:none; and then define the border style of p

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