tomayac’s avatartomayac’s Twitter Archive—№ 13,362

  1. #TIL that CSS attribute selectors have case (in)sensitivity switches 'i' and 's': drafts.csswg.org/selectors-4/#attribute-case. E.g., [frame=hsides i] would match for "hsides", "HSIDES", "hSides", etc. This can be used for client-side filtering, as shown in @css' article css-tricks.com/filtering-data-client-side-comparing-css-jquery-and-react/.