What is Nostr?
Ana Tudor 🐯 /
npub1wzr…2nuu
2024-10-31 09:28:49

Ana Tudor 🐯 on Nostr: #tinyCSStip Want to create a triangle with all edges equal in 4 simple #CSS ...

#tinyCSStip Want to create a triangle with all edges equal in 4 simple #CSS declarations?

Such a triangle also has all vertex angles equal = (sum of angles in a triangle)/3 = 180°/3 = 60°

👉 https://en.wikipedia.org/wiki/Sum_of_angles_of_a_triangle

Knowing its edge length a, its height is a·sin(60°).

Aspect ratio of the box
a/(a·sin(60°)) = 1/sin(60°)

#cssMaths #Maths #Mahematics #code #trigonometry #triangle #coding #webDev #frontend #web #webDevelopment #dev





Author Public Key
npub1wzrcns4nynt3aegu8qvxyffxu8k6rahtmx5ll6ap7z24f036y43q0u2nuu