Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a double bottom border in CSS

Tags:

html

css

border

I want to create a double boarder at the bottom of a title with two lines of different thicknesses and a 1px space in between. Specifically a top line with a thickness of 2px and a bottom line of 1px.

Here is an image example of what I am aiming to achieve aesthetically -

enter image description here

Other website which have used this design aspect - http://www.rollingstone.com/

So far I have tried - "border-bottom: 1px Solid #000;" with no luck. I would appreciate any further suggestions

Many Thanks

like image 789
ANTLER66 Avatar asked Jun 24 '12 16:06

ANTLER66


1 Answers

You could do something like this, as it requires no extra markup.

http://jsfiddle.net/aNc9X/

enter image description here

as seen here: http://nicolasgallagher.com/multiple-backgrounds-and-borders-with-css2/demo/borders.html

like image 90
mgherkins Avatar answered Oct 13 '22 03:10

mgherkins