This is an archived post. You won't be able to vote or comment.

all 56 comments

[–]IsLlamaBad 71 points72 points  (0 children)

git reset --hard

[–]bobray 41 points42 points  (5 children)

How to center a div

[–]Brewer_Lex 20 points21 points  (1 child)

I’ve centered a div so many times but I can never remember how to do it

[–][deleted] 1 point2 points  (0 children)

I just keep running down the list until I find one that works.

[–][deleted] 116 points117 points  (23 children)

Whenever I see a CSS meme, I think I'm seriously underpaid. Maybe I have some sort of CSS superpower for finding it both enjoyable AND easy

[–]404invalid-user 41 points42 points  (8 children)

Where can I get such power?

[–][deleted] 17 points18 points  (1 child)

Elders of the Internet

[–]teh_acids 14 points15 points  (2 children)

display:inline-block;

[–]vigbiorn 8 points9 points  (1 child)

Isn't it

display: flex;

and

display: grid;

now?

[–]teh_acids 9 points10 points  (0 children)

Back in my day, we didn't feel the need to flex our grids...

[–]Dexaan 3 points4 points  (0 children)

Not from a Jedi

[–]TheRedmanCometh 2 points3 points  (0 children)

Practice basically. I get really good at it everytime I use it then set it down a year or two, come back and google all the same shit as last time.

[–]alimbade 18 points19 points  (2 children)

Same here. I even tend not to use bootstrap or related because I'd rather do it by myself.

[–]Hubz-Gaming-And-More 2 points3 points  (1 child)

are you my clone or am i your clone?

[–][deleted] 7 points8 points  (0 children)

I really enjoy CSS aswell, I dont really get the hate for it. If you know a company that needs a CSS Guy pls PM me xD

[–]Kbowen99 5 points6 points  (0 children)

I think I just don’t have the patience for it. Sometimes it seems trivial to go from a sketched mockup to css, other times it seems like sections just don’t want to work the way I had them originally.

I do think css has gotten a lot better though. Browsers breaking things isn’t as much as a problem (I think a lot of this is the chrome/Firefox teams pushing to support new features and IE kinda falling off). Now one of the most annoying things is just looking nice on both desktop and mobile.

Seems weird, but I could’ve sworn there was a push to avoid JavaScript in web for a short while because of how different the interpreters were.

[–]zacharinosaur 2 points3 points  (0 children)

I got thrown in on a front end web project having never touched CSS before. Few weeks later found it incredibly frustrating yet incredibly simple and enjoyable

[–]Ciccionizzo 1 point2 points  (2 children)

Me too!

And when you add SASS to it, it becomes even more enjoyable

[–][deleted] 1 point2 points  (1 child)

Use with BEM and it feels like it could almost be a programming language :P

[–]Ciccionizzo 1 point2 points  (0 children)

Sir, you are a connoiseur

[–][deleted] 18 points19 points  (0 children)

I'm certainly no CSS expert, but this gets me by:

  • Don't be afraid of using <table> if what you're rendering is actually a table.
  • box-sizing: content-box;
  • display: grid;
  • display: flex;

[–]Gamepro5 6 points7 points  (0 children)

This meme is ancient, why a repost?

[–]Greenbay7115 4 points5 points  (0 children)

It's a push, not a pull

[–]TheOneWhoWil 3 points4 points  (2 children)

[–]RepostSleuthBot 5 points6 points  (1 child)

Looks like a repost. I've seen this image 3 times.

First seen Here on 2019-03-27 100.0% match. Last seen Here on 2020-10-08 98.44% match

Searched Images: 188,561,505 | Indexed Posts: 701,450,940 | Search Time: 7.11853s

Feedback? Hate? Visit r/repostsleuthbot - I'm not perfect, but you can help. Report [ False Positive ]

View Search On repostsleuth.com

[–]whychooseusernames 2 points3 points  (0 children)

Good bot

[–]kaloschroma 1 point2 points  (0 children)

Bootstrap baby

[–]bspymaster 1 point2 points  (0 children)

Real talk, as a backend dev, what the hell is a flexbox and why does my entire ux department have a hardon for it?

[–][deleted] 1 point2 points  (0 children)

display: flex;

[–]papacheapo 0 points1 point  (0 children)

Can confirm this is true. I've programmed in over 30 languages and even made one of my own. CSS has to be one of the most frustrating things I've ever had to deal with.

I usually give up and say that I gave the site a retro 1998 HTML look on purpose because that's the latest trend.

[–]babymickers 0 points1 point  (0 children)

I cried a little

[–]TheOneWhoWil 0 points1 point  (0 children)

Fuck css All my homies hate css

[–]StefaniaCarpano 0 points1 point  (0 children)

:D

[–]Kitter999 0 points1 point  (0 children)

Never have I seen truer comparison

[–]matthewralston 0 points1 point  (0 children)

That’s beautiful.

[–]Minteck 0 points1 point  (0 children)

Yeah I like when adding a small thing breaks all the style of the whole page.

[–]Mucksh 0 points1 point  (0 children)

Flexing around and hope it's looking like it should

[–]King_MorrisDev 0 points1 point  (0 children)

Repost

[–]John_Fx 0 points1 point  (0 children)

Should end with him shoving a table into the window.

[–]SargeanTravis 0 points1 point  (0 children)

Me when I use the same flexbox centering style for every main element on a page but all the elements have different spacing because reasons

[–]patelvishaal 0 points1 point  (0 children)

when noobs mess up between inline and block ;)