CSS to style first and last word differently -
CSS to style first and last word differently -
i have situation need impact styling on text , have access css. not have access of underlying code, can not wrap text in spans or of sort.
the text "status: in stock".
is there way css lone can create 'status:' 1 color , 'in stock' color? hoping :first-word/:last-word, apparently doesn't exist.
another thought if there way "style word before ':' 1 way, , after ':' way"
is of possible purely css?
css
Comments
Post a Comment