开发者

p:first-line | w/ parent #div. 3rd Paragraph Tag or Other Selector

开发者 https://www.devze.com 2023-03-21 19:18 出处:网络
Although this syntax does not render, this is basically wha开发者_如何转开发t I am attempting to do.

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.php

I 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;}
0

精彩评论

暂无评论...
验证码 换一张
取 消