Comments on: More Real-World Uses for :has() https://css-tricks.com/more-real-world-uses-for-has/ Tips, Tricks, and Techniques on using Cascading Style Sheets. Thu, 02 Feb 2023 12:34:13 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Zoran Jambor https://css-tricks.com/more-real-world-uses-for-has/#comment-1802820 Thu, 02 Feb 2023 12:34:13 +0000 https://css-tricks.com/?p=376331#comment-1802820 Thank you so much for mentioning my video, Liam! I really appreciated.

Also, these are really nice examples.

]]>
By: Jay Gillibrand https://css-tricks.com/more-real-world-uses-for-has/#comment-1802814 Wed, 01 Feb 2023 19:09:37 +0000 https://css-tricks.com/?p=376331#comment-1802814 I love that nth-child trick for the zebra stripes.

]]>
By: Liam Johnston https://css-tricks.com/more-real-world-uses-for-has/#comment-1802731 Mon, 23 Jan 2023 20:18:50 +0000 https://css-tricks.com/?p=376331#comment-1802731 In reply to Muzammil.

Yeah! That’s good to hear.

Just make sure you’re happy with the browser support when you start using it. Firefox is the major browser that most folks are waiting on, but even if Firefox shipped it today and all Firefox users updated right away, that’d still be < 85% support world wide, if I cam interpreting this correctly: https://caniuse.com/css-has

That’s mainly due to older Safari versions still in use, plus Samsung Internet (for now).

]]>
By: Oscar https://css-tricks.com/more-real-world-uses-for-has/#comment-1802724 Sun, 22 Jan 2023 23:40:02 +0000 https://css-tricks.com/?p=376331#comment-1802724 Excellent post and info.

]]>
By: Muzammil https://css-tricks.com/more-real-world-uses-for-has/#comment-1802721 Sun, 22 Jan 2023 14:21:02 +0000 https://css-tricks.com/?p=376331#comment-1802721 I am working on template development and i think this would be the best thing i should use in my template’s CSS ✌️

]]>