Added abbreviated HEX value for color. (#24746)
For consistency, used white as an example for all 4 examples.
This commit is contained in:
@@ -29,10 +29,11 @@ to purple and the rest of the page to blue.
|
||||
```
|
||||

|
||||
|
||||
In CSS color can be defined in three ways:
|
||||
* A valid color name such as `blue`
|
||||
* A HEX value such as `#FFFFF` (Hex value for white)
|
||||
* An RGB value such as `rgb(76,175,80)` (RGB value for light green)
|
||||
In CSS color can be defined in four ways: (using white as an example)
|
||||
* A valid color name such as `white`.
|
||||
* A HEX value such as `#FFFFFF`.
|
||||
* An abreviated HEX value such as '#FFF'.
|
||||
* An RGB value such as `rgb(255,255,255)`.
|
||||
|
||||
### Background Images
|
||||
You can use the background image property to set an image as a background for an element.
|
||||
|
Reference in New Issue
Block a user