short hexcodes (#20964)
This commit is contained in:
committed by
Huyen Nguyen
parent
d480010d9d
commit
0e80d750a3
@ -55,6 +55,8 @@ Hex codes are case insensitive, meaning that #FFFFFF and #ffffff would be the sa
|
|||||||
|
|
||||||
Additionally, there are 16,777,216 possible color combinations using hexcode.
|
Additionally, there are 16,777,216 possible color combinations using hexcode.
|
||||||
|
|
||||||
|
A shorthand form also exists. The shorthand #ABC is equivalent to #AABBCC. In this form, 4096 colours are available.
|
||||||
|
|
||||||
### Opacity
|
### Opacity
|
||||||
|
|
||||||
The CSS3 opacity property sets the opacity for the whole element (both background color and text will be opaque/transparent). Unlike alpha values specified with rgba and hsla, opacity is inherited by child elements.
|
The CSS3 opacity property sets the opacity for the whole element (both background color and text will be opaque/transparent). Unlike alpha values specified with rgba and hsla, opacity is inherited by child elements.
|
||||||
|
Reference in New Issue
Block a user