Target certain words with CSS? -


this kind of theory question wonder whether possible or not.

so if have div content like...

<div>£100.00 - buy</div> 

can target "£100.00" without targeting rest?

so can increase font size of £100.00?

you target wrapping in span element:

jsfiddle example

<div><span class="price">$100.00</span> - buy</div 

Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -