Chrome 111 went stable this week. One of its many features is support for Trigonometric Functions in CSS. That means that you can now use
tan(), and friends inside of
calc()! That also means this feature is now available in all major browsers.
Over at web.dev you can find an article I wrote about it. Covered are what those functions mean, how to use them, and some basic demos to demonstrate it all.