An Interest In:
Web News this Week
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
June 26, 2020 10:30 pm GMT
Original Link: https://sarahmhigley.com/writing/whcm-quick-tips/
Quick Tips for High Contrast Mode
Sarah Higley has some CSS tricks up her sleeve for dealing with High Contrast Mode on Windows, which I learned is referred to as WHCM.
Here’s the first trick:
[…] if the default CSS outline property doesn’t give you the visual effect you want [in WHCM] for focus states, there’s a very simple fix. Instead of overriding default browser focus styles with
outline: none
, make it transparent instead:outline 3px solid transparent
.
That will essentially do nothing outside … Read article “Quick Tips for High Contrast Mode”
The post Quick Tips for High Contrast Mode appeared first on CSS-Tricks.
Original Link: https://sarahmhigley.com/writing/whcm-quick-tips/
Share this article:
Tweet
View Full Article