2 ms·
Yeah, I think you're missing the point that it's not using Javascript at all but only CSS.
by diggan 13y ago
Yeah, I think you're missing the point that it's not using Javascript at all but only CSS.
- talmand 13y agoActually, it's rather heavily dependent on Javascript as that's how most of the functionality is handled. Plus some server side is likely required to insert the raw text to be searched in the data attributes. I guess you could hand-code all that text inside numerous data attributes but different people may do things differently. Although, it is clever but rather limited.
- davidbrear 13y ago... what do you think is handling the key pressing?... It's not just CSS. The only thing this does that's different than iterating over every element is it splits the hiding to the CSS engine.