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
Interesting and related Treehouse online classes - May 08, 2013
CSS, HTML, Javascript, jQuery, jQuery Mobile, Typography, Accessibility, and Responsive Design Info - Sep 25, 2013
Major Junco.css breakpoints - Sep 30, 2013
Twitter Bootstrap - Dec 19, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Feb 20, 2025 - 2:40 p.m. EST