Edition
I ❤️
In programming, the rule of least power is a design principle that "suggests choosing the least powerful language suitable for a given purpose".
– W3C TAG Finding 23 Feb 2006
Physical | Left to Right | Logical |
---|---|---|
top & bottom | margin-block | |
left & right | margin-inline | |
top | margin-top | margin-block-start |
bottom | margin-bottom | margin-block-end |
left | margin-left | margin-inline-start |
right | margin-right | margin-inline-end |
oklch(luminosity, chroma, hue)
Blue arrow: 100vh, the height of the page displayed
Red arrow: 100dvh, the height of visible screen