CSS Property : color Explained !

CSS Property : color Explained !

The color CSS property sets the text color for an element. The value can be specified using a keyword (such as “black” or “white”), a hex code or an RGB value. For example, to set the text color of a paragraph element to red, the following CSS could be used:

p { color: red; }        
p { color: hsla(120, 100%, 50%, 0.5); }        

This will set the text color to a semi-transparent light green.

?Subscribe for more videos like this:?https://www.youtube.com/c/CodeCanvas?sub_confirmation=1

要查看或添加评论,请登录

Milap Patel的更多文章

社区洞察

其他会员也浏览了