CSS for opening paragraph of text

This was commented out in the junco.css file, so I removed it, but I'm saving it here.

This alters only the opening paragraph of text on a blog post except in IE8. The yellow background was used for testing.

 # content > p:nth-child(2) {
    font-size: 1.2em;
    background: yellow;
}

(Except remove the space between the pound sign and "content" id.)

#css - #design

From JR's : articles
62 words - 378 chars
created on
updated on - #
source - versions

Related articles
CSS media queries - width versus device-width - Jul 30, 2013
Mar 23, 2015 links - Mar 23, 2015
Major Junco.css breakpoints - Sep 30, 2013
Breaking the web in 2014 - 2016 - May 31, 2016
Interesting and related Treehouse online classes - May 08, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Apr 19, 2024 - 8:55 a.m. EDT