3 ms·
Could someone explain the purpose of globally setting image and video opacity to 0.6? I'm confused as to why this framework sets that by default.
by bkyan 5y ago
Could someone explain the purpose of globally setting image and video opacity to 0.6? I'm confused as to why this framework sets that by default.
- mjrpes 5y agoIt only does that on dark view mode. It's so the image isn't so bright against the other dark elements. There is some thoughts on this here: https://css-tricks.com/a-complete-guide-to-dark-mode-on-the-web/#design https://css-tricks.com/a-complete-guide-to-dark-mode-on-the-... It's a nice idea, but I'm not sure how universal accepted this "rule" is, as it does wash out the image quite a bit.
- bkyan 5y agoOh, I totally missed that media query... Guess that's what I get for looking at code using a small cell phone.
- deleted 5y ago[deleted]