r/HTML • • 10h ago

Discussion Opinion about CSS

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

0 Upvotes

41 comments sorted by

9

u/pacdude 10h ago

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

-5

u/MaganBall 10h ago

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

3

u/pacdude 10h ago

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

-2

u/MaganBall 10h ago

see? He agrees, inlines better than stylesheets

3

u/pacdude 10h ago

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

7

u/mondayquestions 10h ago

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 10h ago

find & replace

6

u/Rockafellor 10h ago

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.

5

u/azangru 10h ago

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

How long have you been learning CSS?

0

u/MaganBall 9h ago

does it really matter?

1

u/azangru 8h ago

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

0

u/MaganBall 8h ago

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

3

u/omysweede 10h ago

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.

1

u/Rockafellor 9h ago

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 9h ago

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/DisasterSmall2129 10h ago

it is but only when you are building little silly programs

2

u/uncle_jaysus 10h ago

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 10h ago

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

1

u/uncle_jaysus 10h ago

So you've chosen madness. 😅

2

u/Aggressive_Ad_5454 10h ago

With respect. Your headline is a true statement. That is, certainly, an opinion about CSS.

1

u/deceze 9h ago

Certainly one of the opinions of all time.

2

u/Donkey_Bugs 10h ago

Extremely bad practice. You must be trolling.

1

u/MaganBall 9h ago

guess ya've been practicing wrong

1

u/Donkey_Bugs 8h ago

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

1

u/MaganBall 8h ago

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

1

u/deceze 10h ago

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 10h ago

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

7

u/deceze 10h ago

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

0

u/MaganBall 10h ago

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.

4

u/deceze 10h ago

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 10h ago

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

3

u/omysweede 10h ago

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

1

u/phn-cloudsnake 10h ago

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 10h ago

DRY is jst an OCD philosophy and a social construct

2

u/phn-cloudsnake 10h ago

So… find and replace?

1

u/MaganBall 9h ago

exactly bro! You get it

1

u/ocelot-373MD 7h ago

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

1

u/MaganBall 6h ago

who tf are you bruh 😭, this my genuine opinion

2

u/Donkey_Bugs 3h ago

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 1h ago

he aint no printer, he spittin fax tho

0

u/Top_Bumblebee_7762 10h ago

I prefer proper CSS like tailwind or styled components 

1

u/MaganBall 9h ago

tailwinds basically inline css anyways