html - CSS Two borders. diffrent height -


i have question, possible in attachment in pure css?

<h3 style="border-bottom:1px solid #515151"><span style="border-bottom:3px solid #0066b3">header</span></h3> 

http://i.stack.imgur.com/tw0uu.png

you can way:

h3 {     height:14px;     padding-bottom: 10px;     width: 100%;     margin: 20px auto;     float: left;     border-bottom: 1px solid black; }  h3 > span {  border-bottom: 5px solid blue;   } 

and html

<h3><span>header</span></h3> 

fiddle


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -