I'm using a function for generating a gradian shadow on text or html tag. And I don't understand why the angle of the shadow isn't the same.
To get the same result on HTML tag I have to divide by 2 the y position of shadow (you have to uncomment this 3 lines on SCSS (l.14-l.16) on the Codepen example to see the result)
// @if($i) {
// $y: $i/2;
// }
Look like
Line commented
Line not commented
I made a answer to close this question with @Vinc199789 comment:
"I think that is because you rotated you right div and that he is calculating from your rotated position."