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:
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?
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:
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?
definitely works on iOS, try the
/debug/view: http://s.codepen.io/tomhodgins/debug/GrpwxNAh 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
? glad you got it working