Imagine writing CSS

Imagine writing CSS

Attached: css--bem.png (1195x457, 69K)

Other urls found in this thread:

pattle.github.io/simpsons-in-css/
motherfuckingwebsite.com/
twitter.com/NSFWRedditVideo

Ok

or you can just use the "card" class and define all properties in the css file

!important

I don't get it.

Imagine thinking css is hard.

pattle.github.io/simpsons-in-css/

Imagine thinking css is hard.

nobody really writes any of this shit by hand anymore by the way

Imagine being given a wordpress site with 3000 custom CSS scripts none of which make any fucking sense, and being told to fix an issue

Imagine having to do that for a living

Imagining imagining tings while imagining imaginations

NO

>nobody really writes any of this shit by hand anymore by the way
Except you know, the pros

Except it's pretty easy to deal with once you know what you're doing.

Oof.

Attached: the squaresons.png (1137x953, 109K)

Designing a website is a pain. Is using bootstrap a bad idea?

.card {
}

.card h3 {
}

.card p {
}

.card button {
}

Wow so hard

Good luck with name clashes on your 5000-line CSS for a real world website

getting all the intricacies isn't hard but it does take time. I see a lot of niggerlicious JavaScript codeblocks at work that people wrote because they didn't know how to it using plain CSS

Imagine being too much of a brainlet to understand CSS precedence.

>write documentation that clearly defines parts of your site
>reference documentation when using names

Wow, so hard

CSS was a mistake.

OP's photo shows multiple classes defined WITH the word "card", where if one studied long enough, you can do all the extra classes without the word "card", (because you already wrapped all that shit inside the "card" article block)

Imagine only having worked on 100 line CSS files and acting like an expert online

When you start nesting things and you have to always be mindful of inheriting stupid shit from lower levels your noobish approach will drive you straight to insanity

Good luck naming things when you have 300 things already named the same

CSS BEM is a way to remain sane with large scale projects. It's not perfect, in fact it's ugly as fuck. But it works and keeps you fucking sane at the end of the day

>Late millenials and zoomers use some editor to balloon what should be a simple task to 10000 lines
>Pajeets fill the rest of it with JavaScript
Oh, so that's why.

Attached: 1539448980247.gif (290x218, 981K)

I wonder why high IQ people are so autistic

CSS is fun tho

Attached: download.jpg (207x139, 8K)

imagine not writing anything

underrated

If you don't use some sort of preprocessor you're a mistake

inline style !important

i used to get paid 20$ an hour to manage wordpress sites. all in all i basically stole 1000 dollars from the guy. couldn't tell you what i did

>a real world website
which I assume you've never coded for

Imagine being a NEET

imagine not having a job rofl

i wish i could go back to this
all my "wordpress site jobs" are basically
>can you make this guy and overnight internet sensation
>can you add adwords to his youtube page so he gets double the return when we host his videos on his website
>we need to implement an online ordering system with the Domino's tracker that should also appear on all 6 of our android tablets so none of us will get confused on a given order
>why doesn't this word document work right
>this dot matrix printer needs to work in Bulgaria with 3 feet of HDMI; you've done it before you can do it again, right?

it is hard if you want to have beautiful website

imagine having to deal with frontend bullshit

It's still not hard, just time consuming

The OP is doing that (css file) but using greater granularity - an approach called "BEM" (block element modifier) to name his classes. A better technique imo in many cases is "atomic CSS" but then im not a front-ender or UI designer so maybe there is some new fad of the month im unaware of.

!Fuck you

many people that work with css would agree with you
motherfuckingwebsite.com/

*bloated website
ftfy

why?

i want to cry that i spent time in ps, ai, ae; instead of learning html, css, js, as a youngster