Is it possible? If possible how can i solve it?
Possible duplicate of Style the first word of a sentence with CSS
You can't because there's no :first-word selector, only :first-letter and :first-line. You'll need insert span dynamically with JS if you don't control original HTML.
As far as i know it is not possible with pure css.
Examples: Examples with ::first-word
Please login first before posting an answer.