p:first-line | w/ parent #div. 3rd Paragraph Tag or Other Selector
Although this syntax does not render, this is basically wha开发者_如何转开发t I am attempting to do.
#description > p:first-line[title*='bandCopy'] {font-weight:bold;}
I want the first main body copy to have a first-line bold.
I am working with this page:
http://www.glustik.com/dustreeproductions/entertainers/smiths.phpI am trying to use some CSS3 just for practice.
Thanks A Bunch!
This should work for you:
#description>p[title*=bandCopy]:first-line {font-weight:bold;}
精彩评论