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

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -