Do you really understand CSS linear-gradients?
Patrick Brosset

Hi Patrick, great post! But please, explain me why:

gradient line length = abs(W * sin(A)) + abs(H * cos(A))

I’ve made many test building triangles but I can’t get out of it :-(

Thanks in advance!

Like what you read? Give Davide Lorigliola a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.