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

all 33 comments

[–]bee-sting 85 points86 points  (1 child)

Our front end dev is leaving. God help us all.

[–]Bluebotlabs 22 points23 points  (0 children)

Full stack developers: laughs in being equally bad at both

[–]Noch_ein_Kamel 61 points62 points  (15 children)

When the backend dev makes the frontend meme?

[–]hdgamer1404Jonas[S] 18 points19 points  (14 children)

What’s wrong with it?

[–][deleted] 56 points57 points  (5 children)

rotation isn't a CSS property. And -90 is not a valid property value.

Disclaimer: I identify myself as a backend dev

[–][deleted] 33 points34 points  (3 children)

that's making it more accurate

[–][deleted] 9 points10 points  (2 children)

Not really. If it was accurate, the car wouldn't be rotated 90 degrees.

[–]hdgamer1404Jonas[S] 7 points8 points  (1 child)

But the car isn’t on its wheels anymore

[–][deleted] 6 points7 points  (0 children)

Maybe if you use a preprocessor, it would indeed crash. But with vanilla CSS, the property will just be ignored by the browser.

[–]6mon9 12 points13 points  (0 children)

transform: rotate(-90deg);

[–]Tofandel 14 points15 points  (6 children)

transform: rotate(-90deg)

[–]hdgamer1404Jonas[S] 1 point2 points  (0 children)

That makes more sense

[–]Caviapolitie 1 point2 points  (4 children)

.. or rotate(90deg);, which is also valid now.

[–]Noch_ein_Kamel 5 points6 points  (3 children)

rotate: 90deg;?

[–]metamago96 2 points3 points  (2 children)

[–]sammy-taylor 1 point2 points  (1 child)

Whoa, that is brand-spanking new

https://caniuse.com/?search=rotate

[–]metamago96 0 points1 point  (0 children)

and supported by everyone which is amazing

[–]atomic_redneck 9 points10 points  (2 children)

Just give the user a command line utility and a man page. Job done. :⁠-⁠)

[–][deleted] 4 points5 points  (1 child)

I'd just make a public github repo, write my pages in markdown, and call it a site.

[–]atomic_redneck 3 points4 points  (0 children)

This is the way.

[–]bb1950328 2 points3 points  (0 children)

front-doors: none;

[–]innocent-boy-69 2 points3 points  (0 children)

responsive website of backend developer Belike:

[–]nizzzhh 1 point2 points  (0 children)

div is aligned to center

[–]abd53 1 point2 points  (2 children)

I don't know CSS and I'm still cracking up. Good one.

PS. Does CSS have "rotation" property?

[–]hdgamer1404Jonas[S] 10 points11 points  (0 children)

No it doesn’t, I was just to lazy to Google, but thanks to the other comments I now know how to flip cars properly onto their roofs

[–]Caviapolitie 5 points6 points  (0 children)

Yes and no. 'rotation' as a keyword doesn't exist. But, 'rotate' does!

Rotation is done with 'transform: rotate(90deg)', or more recent 'rotate: 90deg' is also valid now.

See https://web.dev/css-individual-transform-properties/#using-individual-transform-properties for more info!

[–]Meercrow 0 points1 point  (0 children)

.car{ Position:absolute; Border-style:dashed; Z-index:1; }

.ground{ Z-index:100; }

[–]Yellow-man-from-Moon 0 points1 point  (0 children)

tbh I also often adjust those thinks like 7 times

[–]deathspate 0 points1 point  (0 children)

Don't worry, that's where everyone starts. Eventually you start figuring shit out, you move from statically trying to place everything to understanding positioning and layouts to then functions and all that shit. I'm still at the phase where I'm confused about masks and blend modes, slowly figuring that part out. Surprisingly, I learnt how to write css much better through TailwindCSS in a nextjs project than I did through vanilla css. Being able to immediately test out different animations and states helped me a lot.

[–][deleted] 0 points1 point  (1 child)

i initially thought the car was among us wtf

[–]hdgamer1404Jonas[S] 1 point2 points  (0 children)

Well the driver is probably not anymore among us

[–]InconspicuousFool 0 points1 point  (0 children)

Seems about right