@@Das Camel-Case
Du verrennst dich sinnnlos in irgendwas Kompliziertes.
--c: calc(sqrt(100vw * 100vw + 100vh * 100vh));
Von hypot() hast du noch nichts gehört?
Wie also bestimmt man […] den Winkel, der dafür sorgt, daß der Verlauf sich diagonal über das Fenster zieht. Und das eben alleine mit CSS, ohne JS.
Den Winkel bestimmt man gar nicht. Wozu auch? ☞ diagonaler Verlauf
🖖 Live long and prosper
--
“Space: the final frontier. Above us. Around us. Within us.
We have always looked to the stars to discover who we are.”
— Michael Burnham in Star Trek: Discovery S2:E1
“Space: the final frontier. Above us. Around us. Within us.
We have always looked to the stars to discover who we are.”
— Michael Burnham in Star Trek: Discovery S2:E1