I really like Say you wanted to reveal some extra stuff when a
That's not particularly keyboard-friendly. But if something in
That's nice, but it causes a tricky problem.
Browsers ignore entire selectors if it doesn't understand any part of them. So, if you're dealing with a browser that doesn't support Instead:
That is safer. But it's repetitive. If you have a preprocessor like Sass...
See the Pen I'd say it's a pretty good use-case for having native CSS mixins. The post Don’t comma-separate :focus-within if you need deep browser support appeared first on CSS-Tricks. from CSS-Tricks https://css-tricks.com/dont-comma-separate-focus-within-if-you-need-deep-browser-support/ Don’t comma-separate :focus-within if you need deep browser support See more on: The Instant Web Site Tools Blog from https://www.instant-web-site-tools.com/2019/07/24/dont-comma-separate-focus-within-if-you-need-deep-browser-support/
0 Comments
Leave a Reply. |