Launched this week
Rattribute.js
Change HTML attributes based on responsive screen sizes.
5 followers
Change HTML attributes based on responsive screen sizes.
5 followers
Rattribute.js allows you to define different HTML attributes for different viewport widths using simple data-* attributes. Whether you need to change classes, targets, ARIA attributes, or any other HTML attribute, Rattribute.js updates your elements automatically as the browser size changes — without writing responsive JavaScript.