HTML CSS examples for CSS Property:background-color
change first word color through css
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div<!-- w w w .ja v a2s . c o m--> { color:orange; background-color:#DDD; } .color-white { color:#FFF; } </style> </head> <body> <div> ' <span class="color-white">test</span> test' </div> </body> </html>