View on GitHub

ReadingNotes

Css & Colors

BLOCK & INLINE ELEMENTS :

Image

Color :

Color not only brings your site to life, but also helps convey the mood and evokes reactions

The color property allows you to specify the color of text inside an element. You can specify any color in CSS in one of three ways:

* Color pickers can help you find the color you want.

* It is important to ensure that there is enough contrast between any text and the background color (otherwise people will not be able to read your content).

* CSS3 has introduced an extra value for RGB colors to indicate opacity. It is known as RGBA.

* CSS3 also allows you to specify colors as HSL values, with an optional opacity value. It is known as HSLA.


Home