Comments on: You Want border-color: transparent, Not border: none https://frontendmasters.com/blog/you-want-border-color-transparent-not-border-none/ Helping Your Journey to Senior Developer Mon, 18 Mar 2024 13:55:11 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: Matt Rock https://frontendmasters.com/blog/you-want-border-color-transparent-not-border-none/#comment-1733 Mon, 18 Mar 2024 13:55:11 +0000 https://frontendmasters.com/blog/?p=1120#comment-1733 In reply to Chris Coyier.

LOL XD

]]>
By: Curtis Wilcox https://frontendmasters.com/blog/you-want-border-color-transparent-not-border-none/#comment-1662 Sat, 16 Mar 2024 12:48:34 +0000 https://frontendmasters.com/blog/?p=1120#comment-1662 Another forced-colors tip: test with both dark-on-light and light-on-dark colors. This can help you spot a different issue with forced-colors, SVGs and other images with transparency that assume the background color will be light (or dark), like the Codepen logo (sorry).

This can be done using Chrome DevTools combining “Emulate CSS media feature forced-colors” and “Emulate CSS media feature prefers-color-scheme.”

]]>
By: Kilian Valkhof https://frontendmasters.com/blog/you-want-border-color-transparent-not-border-none/#comment-1655 Sat, 16 Mar 2024 10:04:38 +0000 https://frontendmasters.com/blog/?p=1120#comment-1655 Testing this in Polypane is even easier, it just takes two clicks! I mentioned this tip and a bunch of others in an (evergreen) article I wrote a few years ago over on my blog: https://polypane.app/blog/forced-colors-explained-a-practical-guide/

Check it out for more tips, like dealing with icons and focus styles. Using outline-color: transparent instead of outline:none is equally as important.

Also exceptional use of the “You want X, not Y” title format 😉 https://css-tricks.com/you-want/

]]>
By: Dave Rupert https://frontendmasters.com/blog/you-want-border-color-transparent-not-border-none/#comment-1629 Fri, 15 Mar 2024 20:26:01 +0000 https://frontendmasters.com/blog/?p=1120#comment-1629 In reply to Chris Coyier.

Lauuuuve u, bb

]]>
By: Chris Coyier https://frontendmasters.com/blog/you-want-border-color-transparent-not-border-none/#comment-1530 Wed, 13 Mar 2024 22:11:30 +0000 https://frontendmasters.com/blog/?p=1120#comment-1530 jeez dave you can just DM me

screenshot of it working

]]>