Articles by

Juan Diego Rodríguez

Direct link to the article tan()

tan()

The CSS tan() function takes a calculation that resolves to either an <angle> or <tnumber> and returns the result's tangent, which ranges between -Infinity and Infinity.
Updated on
Direct link to the article cos()

cos()

The CSS cos() function takes a calculation that resolves to either an <angle> or <number> and returns the result's cosine, which is always a number between -1 and 1. It's incredibly good for drawing waves or laying things out in waves, inverse of the sin() function.
Updated on
Direct link to the article sin()

sin()

The CSS sin() function takes a calculation that resolves to either an <angle> or <number> and returns the result's sine, which is always a number between -1 and 1. It's incredibly good for drawing waves or laying things out in waves, inverse of the cos() function.
Updated on