Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Save Code
Ctrl+Alt+A
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
The tan() Function
Use tan() to set the width of elements:
width: calc(100px * tan(45deg)):
Hello World!
calc(100px * tan(0.125turn)):
Hello World!
width: calc(100px * tan(0.5773502)):
Hello World!
width: calc(100px * tan(pi / 3)):
Hello World!