i want use different font settings if text starts # (hash). want normal text color black blue color hashtag. possible using css?? can javascript cant use scripting. need using css. possible?
<div id='container' class='container'> sample text #text#sample </div> in example above. this sample text black in color while #text#sample should blue.
is there way can use regex or other alternative? in advance
use span attribute in html , place span brackets around text , give span id. so:
black <span id="span">blue</span> black then use css id assigned , between span brackets effected
Comments
Post a Comment