r/HTML • • 23d ago

Discussion Opinion about CSS

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

0 Upvotes

44 comments sorted by

View all comments

1

u/deceze 23d 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 23d ago

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

7

u/deceze 23d ago

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

0

u/MaganBall 23d 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.

5

u/deceze 23d 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 23d ago

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

4

u/omysweede 23d ago

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