CSS Secrets: Using min() Function Instead of Media Queries
Modern CSS gives us powerful math functions to simplify layout logic that used to require media queries.
One of these is the min() function.
With min() we can define a property that depends on multiple values, and the browser will automatically use the smallest one.
This helps us write more responsive and maintainable styles.