CSS Shorthand to specify colors

By [)ia6l0 iii

In CSS , we specify the color using the hexadecimal notation: # followed by the six digits.

One shorthand technique, when the color's hexadecimal notation consists of three paris of hexadecimanl digits, is to use omit one digit from each pair.

Like,  instead of #36699 you can write #369.

CSS Shorthand to specify colors  (665 Views)