Louis Lazaris breaks down some bonafide CSS trickery from Jane. The Pen shows off interactivity where:
CodePen Embed Fallback
A lot of little known features and tricks is combined here to pull this off, like HTML’s accesskey and pattern attributes, as well as :not(), :placeholder-shown, and :valid in CSS—not to mention the custom property toggle trick.
That’s… wow. And yet, look how very little code it is.
Direct Link →