html - What's the easiest way to target a specific block level element -


here's have:

<div class="one-third"> <div class="heading clearfix"> <i class="icon icon-folder-open-alt h3"></i><h3> hello world! </h3> </div> 

i need style text hello world! inside h3 element, without styling "i" element

i don't want style every h3 need h3.

ps: it's shortcode generated wordpress theme.

use below:

i.icon.icon-folder-open-alt.h3 + h3{color:red;} 

jsfiddle


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -