Re:Real-world CSS vs. CSS-in-JS performance comparison
by notoverthere on Tuesday June 08, 2021 @06:09PM
(#27441657)
Switch the `<link href="">` value to point to a high contrast stylesheet.
Or alternatively, apply a class to the body tag – e.g. `<body class="high-contrast">` – and declare CSS rules accordingly. Specificity should take care of overriding the 'normal' style rules where needed.
Or alternatively, apply a class to the body tag – e.g. `<body class="high-contrast">` – and declare CSS rules accordingly. Specificity should take care of overriding the 'normal' style rules where needed.