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
Patternlab.io - design reusable components - Dec 08, 2014
Twitter Bootstrap - Dec 19, 2013
Creating a simple theme for an article page - Feb 03, 2014
Flakes client-side JavaScript framework - Dec 18, 2014
Full Page Background Image - CSS - Dec 10, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Oct 31, 2024 - 8:37 p.m. EDT