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, HTML, Javascript, jQuery, jQuery Mobile, Typography, Accessibility, and Responsive Design Info - Sep 25, 2013
Fluidity.css - Mar 17, 2014
CSS media queries - width versus device-width - Jul 30, 2013
Mar 23, 2015 links - Mar 23, 2015
Major Junco.css breakpoints - Sep 30, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Jan 10, 2025 - 8:29 a.m. EST