JAVASCRIPT

Responsive Filter (jQuery)

This code sample shows how to create a responsive list filter. JavaScript and jQuery fetch the breakpoint value from a hidden css pseudo element that sets the value. Therefore, it is not necessary to maintain rendundant responsive breakpoint values in the script.

demo

plain js version
comments powered by Disqus