I got focused on how radio inputs need to be sibilings to the elements they are changing and thinking now there would have been easier ways to set up the stuff, but putting a switch on 24 elements for 7 different setups and each line with like 80 characters is already 13.4k characters, now I just put [class$="x"] and I change every class that ends with x so just one line per setup, the rest were other clean ups I did
yep, cut about 20k from the CSS using this :)
im gonna pretend that i even remotely know what that means
also a 20k diff is like WOW
I got focused on how radio inputs need to be sibilings to the elements they are changing and thinking now there would have been easier ways to set up the stuff, but putting a switch on 24 elements for 7 different setups and each line with like 80 characters is already 13.4k characters, now I just put [class$="x"] and I change every class that ends with x so just one line per setup, the rest were other clean ups I did
i wish i could find use for this. i got elements that use like 5 class selectors - bloat again. some is to use, but some is questionable... sweet
Me renaming .msg1, .msg2, .msg3, .msg4, .msg5 { } to [class^="msg"] { } and saving so many bits from the internet.