Håvard Brynjulfsen (@havardob@mastodon.social)
TIL that you can add “i” to the end of an attribute selector to make it case insensitive🤯 Nice to have when working with CMS-es that generate classes for blocks/webparts in camelCase, like “postBlock”, “imageBlock”, “youtubeVideoBlock” etc Knowing this I can now target [class*=“youtubevideoblock” i] without having to second-guess the spelling Like discovering you can write :only-child instead of :first-child:last-child. It’s just neat 🤌 Thx to @matuzo@front-end.social for the tip! https://codepen.io/matuzo/pen/jOMOQOq?editors=1100