@zachleat Honestly this fine. I can read that code. I can find what I need to edit it quickly and easily. It’s right next to the markup it is coupled to. I can predict exactly what my changes will do and what code will be affected. I can rest easy knowing I haven’t broken something somewhere else. I have this wrapped in a component for easy reuse.
@zachleat I agree it’s ugly, but honestly, html is generally pretty ugly. I’m going to get my job done more easily and sleep better at night so that’s a win in my book. And yes, I do know CSS. YMMV.