r/HTML • • Oct 13 '26

Discussion Opinion about CSS

honestly, inline css proves that css regular doesnt need to exist, just use inline.

0 Upvotes

44 comments sorted by

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.

-4

u/MaganBall Oct 13 '26

find & replace

1

u/zeon_j1 Oct 14 '26

with the structure of one of my HTML and CSS projects, i'd rather die that find and replace each inline css

1

u/MaganBall Oct 14 '26

the find & replace tool

11

u/pacdude Oct 13 '26

This has to be bait, no real designer can be this fucking stupid

-4

u/MaganBall Oct 13 '26

ofc, just running out of run out of logical arguments and immediately insulting, classic

5

u/pacdude Oct 13 '26

You can’t build anything good anyway, so no reason to waste logic on you

-2

u/MaganBall Oct 13 '26

see? He agrees, inlines better than stylesheets

3

u/pacdude Oct 13 '26

See? He agrees, he can’t design for shit

6

u/azangru Oct 13 '26

honestly, inline css proves that css regular doesnt need to exist, just use inline.

How long have you been learning CSS?

0

u/MaganBall Oct 13 '26

does it really matter?

2

u/azangru Oct 13 '26

Yes. Normally, over time, you learn what inline css can do, and what it can't.

0

u/MaganBall Oct 13 '26

well im pretty sure ik everything and I can say that inline css is better, its truth bro, ion know what to tell ya?

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.

2

u/Rockafellor Oct 13 '26

Man, that brings back some memories. For transparency, I have to admit to a certain fondness for tables (I know their weak points are... well, bad, and I can't really defend them well; I can only say that something about them appeals to me — that said though, I have no wish to return to the eye-bleeding '90s web designs 😆).

0

u/MaganBall Oct 13 '26

Ion know what gave ya that impression but ig in your years of experience ya just haven't figured out that inline is better, smh

3

u/Donkey_Bugs Oct 13 '26

Extremely bad practice. You must be trolling.

1

u/MaganBall Oct 13 '26

guess ya've been practicing wrong

1

u/Donkey_Bugs Oct 13 '26

Bloated, unmaintainable code, yeah that’s best practices alright. Web standards, who needs ‘em!

1

u/MaganBall Oct 13 '26

web standards are invisible barriers anyways. Also, find & replace

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.

-1

u/MaganBall Oct 13 '26

ofc im talkin bout style="", im not a freak of nature using a <style> tag

1

u/uncle_jaysus Oct 13 '26

So you've chosen 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)

1

u/MaganBall Oct 13 '26

he aint no printer, he spittin fax tho

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 and classes.

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?

-2

u/MaganBall Oct 13 '26

have you heard of find & replace? its a pretty cool tool

7

u/deceze Oct 13 '26

Have you heard of external style sheets? They're even cooler.

0

u/MaganBall Oct 13 '26

wastes bandwidth making you have a separate file the site has to parse thru, and wastes text in <head> with <link>, plus the burnout of opening up a separate file.

5

u/deceze Oct 13 '26

You must be trolling. Repeating the same styles over and over wastes a ton more bandwidth and text than downloading and caching a shared stylesheet once.

0

u/MaganBall Oct 13 '26

ion know man, my experience? Pretty fast, gotta tell ya

4

u/omysweede Oct 13 '26

I don't believe you have any experience. I don't believe you are old enough to shave.

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/MaganBall Oct 13 '26

DRY is jst an OCD philosophy and a social construct

2

u/phn-cloudsnake Oct 13 '26

So… find and replace?

1

u/MaganBall Oct 13 '26

exactly bro! You get it

1

u/ocelot-373MD Oct 13 '26

I personally know this dude, he's fucking with yall

1

u/MaganBall Oct 13 '26

who tf are you bruh 😭, this my genuine opinion

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.

1

u/deceze Oct 13 '26

Certainly one of the opinions of all time.

0

u/Top_Bumblebee_7762 Oct 13 '26

I prefer proper CSS like tailwind or styled components 

1

u/MaganBall Oct 13 '26

tailwinds basically inline css anyways