I wouldn't consider that a problem, honestly. Prior to CSS3 (and even still), unless you're using a fifty million ton framework, tons of "solutions" require "hacks" to get responsive layouts working correctly. Feature circumvention is not a great sign of success. CSS sucks for so many simple things because it wasn't designed for them to begin with. So, the worst thing about flexbox would be the lack of legacy browser support since it doesn't fail soft.
Modern vanilla css is pretty good. There are preprocessors which compile to CSS and give you things like nesting, but many of their awesome features (like variables) have been added to the base language.
This looks like the sort of shit I write when making themes for third party sites/apps with unfriendly class names and weird CSS that wasn’t designed with theming in mind
It's not always possible to use English. Not saying it's the case here, but sometimes people are operating on hyper-specific fields or domains where it's not reasonable to translate terms to English.
Well, I still think that you should make a class rather than targeting like 50 IDs in one selector. I think classes were already available at that time
Definitely, there are already class selectors in this code. I'm a big fan of the ID selector that also has a class attached to it, since the ID apparently wasn't specific enough.
58
u/djfreedom9505 Dec 08 '21
Had PTSD after seeing the float and clear properties...
16
u/DisneyLegalTeam Dec 09 '21
💯somebody used a ton of @extends in SASS (also bad) & saved the CSS output to reintegrate.
Madness.
…at least I hope somebody didn’t type that out.
23
u/Ko0jo Dec 09 '21
At this point just make the selector * and call it a day 😅
10
u/iskolarium Dec 09 '21
Ah, nothing like the aroma of Legacy Code™ in the morning.
4
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Dec 09 '21
Image Transcription: CSS Styling
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
2
u/sohang-3112 Dec 09 '21
Someone has never heard of CSS classes...
1
u/[deleted] Dec 09 '21
This looks like the sort of shit I write when making themes for third party sites/apps with unfriendly class names and weird CSS that wasn’t designed with theming in mind
cough discord cough
1
u/kristallnachte Dec 10 '21
This is why Tailwind was invented.
-2
u/KetchupBuddha_xD Dec 09 '21
Also why on earth cannot some developers stick to English? Is it really so hard for them?
-25
u/Player_X_YT Dec 09 '21
My issue is what king of text editor still does formatting in comments?
0
u/[deleted] Dec 09 '21
[deleted] — view deleted comment