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
Breaking the web in 2014 - 2016 - May 31, 2016
Interesting and related Treehouse online classes - May 08, 2013
Simple CSS text formatting test - May 15, 2015
Parallax Web Design - Dec 20, 2013
Patternlab.io - design reusable components - Dec 08, 2014
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Apr 18, 2024 - 10:11 p.m. EDT