r/HTML • u/MaganBall • Oct 13 '26
Discussion Opinion about CSS
honestly, inline css proves that css regular doesnt need to exist, just use inline.
0
Upvotes
r/HTML • u/MaganBall • Oct 13 '26
honestly, inline css proves that css regular doesnt need to exist, just use inline.
8
u/mondayquestions Oct 13 '26
And then you make a small modification to how your buttons look and have to update hundreds of buttons’ inline styles across dozens of files.
Good luck changing your color palette too.
11
u/pacdude Oct 13 '26
This has to be bait, no real designer can be this fucking stupid
6
u/azangru Oct 13 '26
How long have you been learning CSS?
6
u/omysweede Oct 13 '26
Oh, you young ones, and your complete inability to learn from previous generations. Let me give you another idea: instead of using CSS, just use tables. Use transparent GIFs for positioning. Make the links open in popup windows. Use animated GIFs with text instead of real text to make it look cool.
Congrats: you now have an unmaintainable website from 1996.
Learn CSS, young grasshopper, especially the cascading part of it.
3
u/Donkey_Bugs Oct 13 '26
Extremely bad practice. You must be trolling.
2
u/uncle_jaysus Oct 13 '26
When you say "inline", what specifically do you mean? Sometimes, people say this and mean having the CSS on the page in <style> tags. Other times they mean on a per-element basis, such as <div style="display:flex;">
The former is good if you have a method for managing it. The latter is madness.
2
u/Donkey_Bugs Oct 13 '26
Don’t stop at inline CSS, use deprecated tags, too! The FONT tag needs love, and don’t forget BLINK. Use that one all over the place to command user’s attention (or give them a seizure)
6
u/Rockafellor Oct 13 '26
Inline is more convenient in some ways, such as small pages when one wishes to drop-in only a few things, but keeping an external sheet makes projects much easier to manage when one needs a sweeping change to the
ids andclasses.1
u/deceze Oct 13 '26
Because you want to repeat the same styles over and over for each element? And if you decide you'd like your headers/headlines/paragraphs/whatever with 1px more margin after all, or have your links in pink, you're going to change it on every element on every page?
1
u/phn-cloudsnake Oct 13 '26
Are we not doing DRY anymore, I’m used to keep things organised using frameworks and pre-processors. Next thing you tell me vanilla JavaScript and jQuery is all you need, everything else is just bloat
1
u/ocelot-373MD Oct 13 '26
I personally know this dude, he's fucking with yall
3
u/DisasterSmall2129 Oct 13 '26
it is but only when you are building little silly programs
3
u/Aggressive_Ad_5454 Oct 13 '26
With respect. Your headline is a true statement. That is, certainly, an opinion about CSS.
0
u/Top_Bumblebee_7762 Oct 13 '26
I prefer proper CSS like tailwind or styled components