lint all files
This commit is contained in:
@@ -116,8 +116,7 @@
|
||||
|
||||
#### Sectioning Elements
|
||||
|
||||
- HTML5 elements must strictly be used as designed.
|
||||
- HTML5 elements must strictly be used as designed.
|
||||
- Where no element is valid, `<div>` is still used.
|
||||
- Any content outside of `<header>`, `<footer>` and `<aside>` is considered content, hence there is no "`<content>`" tag.
|
||||
- `<main>` element is used to specify content however, but can only be used once and cannot be nested inside `<section>` or any similar element.
|
||||
-
|
||||
|
@@ -198,8 +198,8 @@ In this example, `p#intro` text would be coloured green, even though `*` (all te
|
||||
- We can specify hexadecimal RGB codes this way, using 2 characters for each channel.
|
||||
- `#66CDAA32`, where `#RRGGBBAA` is used for RGBA, or `#RRGGBB` for RGB, we just convert from the decimal format of `rgba()`, to hexadecimal.
|
||||
- All values are 2-bit hex values converted to 8-bit binary positive integers, ranging from 0 to 255.
|
||||
|
||||
- `#66CDAA32` - `rgba(102, 205, 170, 0.2)` - `hsla(159.612, 51%, 60%, 0.2)`
|
||||
|
||||
#### Colour Names
|
||||
|
||||
- In CSS, there are 140 hard coded colour names that can be found in several places.
|
||||
|
@@ -131,5 +131,3 @@ If we only specify 2 values, they will be treated as \[top/bottom] \[left/right]
|
||||
- Browser will set the margin to the space it could take up, equally, on each side of the box.
|
||||
|
||||
Note: Older browsers may need the property `text-align` set to `centre` too.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user