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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -