Search
The “Most Hated” CSS Feature: asin(), acos(), atan() and atan2()
17.11.2025
If we have a ratio that represents the sine, cosine or tangent of an angle, how can we get the original angle? This is where inverse trigonometric functions come in!
The “Most Hated” CSS Feature: asin(), acos(), atan() and atan2() originally published on CSS-Tricks, which is part of...
The “Most Hated” CSS Feature: tan()
3.11.2025
Last time, we discussed that, sadly, according to the State of CSS 2025 survey, trigonometric functions are deemed the “Most Hated” CSS feature.
That shocked me. I may have even been a little offended, being a math nerd and …
The “Most Hated” CSS Feature: tan()...
CSS Typed Arithmetic
24.9.2025
Starting in Chrome 140, we'll be able to calculate numeric values with mixed data types. Sounds small, but Amit demonstrates how big a deal this is, calling it Computational CSS.
CSS Typed Arithmetic originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get...
The “Most Hated” CSS Feature: cos() and sin()
15.9.2025
I want to look at practical uses for CSS trigonometric functions. And we'll start with what may be the most popular functions of the "worst" feature: sin() and cos().
The “Most Hated” CSS Feature: cos() and sin() originally published on CSS-Tricks, which is part of the DigitalOcean family....
Creating a Clock with the New CSS sin() and cos() Trigonometry Functions
8.3.2023
CSS trigonometry functions are here! Well, they are if you’re using the latest versions of Firefox and Safari, that is. Having this sort of mathematical power in CSS opens up a whole bunch of possibilities. In this tutorial, I thought …
Creating a Clock with the New CSS sin() and cos()...
Crypto Community Asks: Where in the World Is Ex-Alameda CEO Sam Trabucco?
24.12.2022
Following FTX co-founder Sam Bankman-Fried’s arrest and the statements from his co-workers Gary Wang and Caroline Ellison, the spotlight has turned on the remaining executives who were part of the team’s inner circle. Another person people are curious about these days is Alameda Research’s...
Using Absolute Value, Sign, Rounding and Modulo in CSS Today
28.7.2021
For quite a while now, the CSS spec has included a lot of really useful mathematical functions, such as trigonometric functions (sin(), cos(), tan(), asin(), acos(), atan(), atan2()), exponential functions (…
The post Using Absolute Value, Sign, Rounding and Modulo in CSS Today appeared...
Lots of Ways to Use Math.random() in JavaScript
30.11.2020
Math.random() is an API in JavaScript. It is a function that gives you a random number. The number returned will be between 0 (inclusive, as in, it’s possible for an actual 0 to be returned) and 1 (exclusive, as in, it’s not possible for an actual 1 to be returned).
Math.random(); // returns...
A Complete Guide to calc() in CSS
17.3.2020
CSS has a special calc() function for doing basic math. Here's an example:
.main-content {
/* Subtract 80px from 100vh */
height: calc(100vh - 80px);
}
In this guide, let's cover just about everything there is to know about this very useful function.
calc() is for values
The only place you...
Bitcoin Cash Gets Significant Privacy Boost With Cashfusion Alpha Launch
21.1.2020
On January 17, the BCH developer known as Acidsploit announced the launch of the highly anticipated Cashfusion alpha. Interested parties can reach out to the Cashfusion developers via the team’s Telegram group to become an alpha tester. The news of the launch excited the BCH community a great...
BTC’s Hashrate Touches 120 Exahash, But the Price Has Not Followed
3.1.2020
On January 1, the BTC network hashrate touched an all-time high at close to 120 exahash per second (EH/s). Despite the crypto market lull and lower BTC prices, the 2020 milestone happened just before the blockchain’s 11th anniversary. BTC’s curious jump in hashrate has the cryptosphere...
Keep Math in the CSS
12.12.2018
There is a sentiment that leaving math calculations in your CSS is a good idea that I agree with. This is for math that you could calculate at authoring time, but specifically chose not to. For instance, if you needed a 7-column float-based grid (don't ask), it's cleaner and more intuitive:
.col...