r/ProgrammerHumor • • Nov 26 '19

Not the time, dad

Post image
59.0k Upvotes

705 comments sorted by

View all comments

Show parent comments

174

u/[deleted] Nov 26 '19 edited Nov 26 '19
@keyframe heartbeat {
    0%    { transform: scale(0.9); }
    100%  { transform: scale(1.1); }
}
.heart {
    color: red;
    animation: 1.3s 52000000 alternate heartbeat;
}

81

u/LazyLarryTheLobster Nov 26 '19

Ok I was keeping up just fine until whatever you just did so explain pls

47

u/[deleted] Nov 26 '19

47

u/mrdhood Nov 26 '19

Nah dude we’re gonna need you to upload a working sample of whatever this is

80

u/NinjaLanternShark Nov 26 '19 edited Nov 26 '19

21

u/bizzyj93 Nov 26 '19

It looks like it grew three sizes that day.

1

u/[deleted] Nov 27 '19

that's what she said

6

u/Dffle Nov 26 '19

^ please do

0

u/[deleted] Nov 26 '19

[deleted]

4

u/Dffle Nov 26 '19

I am aware, just wanted to see if anyone could make something look cool using it!

1

u/catzhoek Nov 26 '19

Reminder! It's been done, check context.

1

u/Dffle Nov 26 '19

Thanks, man. Doesn’t work on mobile for me but I’ll check when I can get to a computer!

1

u/LazyLarryTheLobster Nov 26 '19

Awesome, thank you! That's really nice

5

u/thecodingrecruiter Nov 26 '19

6

u/LazyLarryTheLobster Nov 26 '19

Ok what is your problem? There was absolutely no need for that and it was just uncalled for.

Some people

.whatever take my upvote but I still hate you well played

-4

u/akuankka128 Nov 26 '19

Rick roll above

0

u/[deleted] Nov 26 '19

[deleted]

11

u/scirc Nov 26 '19

``` works, but only on new reddit. Of course, the people using new reddit won't notice.

Worse still, I believe it's the default syntax the WYSIWYG editor inserts...

edit: No, apparently not. Fancy Pants inserts 4 spaces.

3

u/GranPC Nov 26 '19

What does 52000000 stand for here? From the docs it should be the timing function, but I don't get how a number defines that.

6

u/[deleted] Nov 26 '19

Number of repetitions; I multiplied the average human BPM with the average human life-expectancy (~70 years).

2

u/GranPC Nov 26 '19

Oh damn, that's a good one. Thanks!

2

u/Cauzix Nov 26 '19

if GoingToDie: Dont