r/ProgrammerHumor • • Nov 26 '19

Not the time, dad

Post image
59.0k Upvotes

705 comments sorted by

View all comments

Show parent comments

551

u/[deleted] Nov 26 '19
.person:dying {
    transition: 630720000s !important;
}

173

u/survivalking4 Nov 26 '19

I wouldn’t put !important because this seems to be the base case, and any other declaration should override it. I’m not sure how many years that is though

120

u/Venipa Nov 27 '19

So a person dying is not important..

101

u/[deleted] Nov 27 '19

Found the C developer. Behold... you must unlearn this to write CSS unless you’re writing an app that generates HTML that then has CSS.

So you then have to unlearn it then learn it then unlearn it again.

Unless you’re going to use a framework or proper separation of front end and backend at which point you can learn that and remember this. As not have to unlearn anything.

It’s simple, see?

6

u/ConverZe Nov 27 '19

Sounds perfectly reasonable. lol

16

u/sethboy66 Nov 27 '19

It's 20 years.

4

u/_ay_lmao_ Nov 27 '19

Googlers, unite

4

u/sethboy66 Nov 27 '19

Used my TI-84 for the calculation actually, the thing does come in handy even for basic maths.

0

u/[deleted] Nov 27 '19

[deleted]

2

u/survivalking4 Nov 27 '19

Yeah but why would I take it as a joke? It’s not like its programmerHUMOR or anything right? /s

2

u/pornAlt30001 Nov 27 '19

#me:dying { transition: 1s important! }

20

u/adamdehaven Nov 27 '19

If you do !important, this would prevent any medical procedures applied later to save/resuscitate the individual from taking effect. It would be better to leave out the !important. If using SCSS, you could do !default instead.

6

u/came-in-like-a-wreck Nov 27 '19

.person { opacity: 0; }

Problem solved.

2

u/agisten Nov 26 '19

12

u/css_irl_bot Nov 26 '19

I detected the following CSS in the preformatted text:

.person:dying {
    transition: 630720000s !important;
}

/u/ColdMan105's comment contains the following CSS errors:

  • Line 1, column 13, error: Unknown pseudo-element or pseudo-class “:dying”

All I know is linting rules, sorry if I missed the joke!


I'm a bot who validates your ^titles. ^^author ^^about ^^summon ^^source Come visit us at ^/r/css_irl!

6

u/DaX3M Nov 27 '19

Eh... good-intentions-bot

2

u/NoTrollGaming Nov 27 '19

I don’t understand any of this but I still find it funny