css - Why doesn't border-style: double; render? -
i have h1
on i've defined next styles:
h1 { text-align: center; border: double black 1px; padding: 1em; margin: 1em; }
here's jsfiddle: http://jsfiddle.net/katiek/hs3zq/
i set border-style double, i'm seeing single border rendered. why isn't double border rendering?
double
displays 2 straight lines add together pixel amount defined border-width (source).
you'll need utilize @ to the lowest degree 3px.
h1 { text-align: center; border: double black 3px; padding: 1em; margin: 1em; }
http://jsfiddle.net/hs3zq/6/
css
No comments:
Post a Comment