1. 3
  1.  

  2. 2

    For those wondering how this is done (because it’s looked super scary to me security-wise to allow JS to be run in CSS). It’s done via JS hidden in the “External JavaScript” section:

    1. 2

      I think this is the second element query codepen post I’ve seen, opened both in iOS Safari and am feeling like I’m missing something. Does this not work on mobile?

      1. 2

        definitely works on iOS, try the /debug/ view: http://s.codepen.io/tomhodgins/debug/GrpwxN

        1. 2

          Ah I see now, this one does work. The one that didn’t work because there’s no overflow for me is https://lobste.rs/s/65k9lj/shadow_hint_for_overflowed_elements

          1. 1

            ? glad you got it working