This commit is contained in:
atomiks
2018-03-02 07:41:40 +10:00
parent bd3eea0b11
commit f45ccf4795
4 changed files with 15 additions and 15 deletions

View File

@ -68,7 +68,7 @@ very sharp and crisp.
#### Explanation
1. `box-shadow`, when only using spread, adds a pseudo-border which can use subpixels\*.
2. Use `@media (min-resolution: ...)` to check the device pixel ratio (`1ddpx` equals 96 DPI),
2. Use `@media (min-resolution: ...)` to check the device pixel ratio (`1dppx` equals 96 DPI),
setting the spread of the `box-shadow` equal to `1 / dppx`.
#### Browser Support