Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i set thickness of horizontal rule in html

Tags:

html

css

How can I set thickness of a horizontal rule in html/CSS

like image 990
jslearner Avatar asked Mar 07 '11 11:03

jslearner


People also ask

Which attribute is used to set thickness line?

Size: The thickness of the horizontal line can be changed with the size attribute.


1 Answers

.cool_line{ 
    display:block;
    border:none;
    color:white;
    height:1px;
    background:lightgray;
    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 350, from(lightgray), to(#fff));
}
Begin

<hr class='cool_line' />

End    
like image 143
boateng Avatar answered Oct 25 '22 00:10

boateng