3 ms·
So...the problem with css classes is that they are old? I'm not sure I quite understand the why. Data-attributes on html elements are only for JS behavior in m
by timw4mail 4y ago
So...the problem with css classes is that they are old? I'm not sure I quite understand the why.
Data-attributes on html elements are only for JS behavior in my usage, and CSS classes are for styling.
- mixmastamyk 4y agoNo, it's because they don't take parameters. Parameters are supported in the tag itself however, might as well use them.