Search
You want minmax(10px, 1fr) not 1fr
22.1.2021
There are a lot of grids on the web like this:
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
My message is that what they really should be is:
.grid {
display: grid;
grid-template-columns: repeat(3, minmax(10px, 1fr));
}
Why? In …
The post You want minmax(10px, 1fr)...
You Can Play A Classic Racing Game Right Now On Whatever You're Using To Read This
22.1.2021
Modern racing games owe so much to Sega’s Virtua Racing. Released to arcades in 1992, Virtua Racing wasn’t the first 3D polygonal racing game, though it was the first to really get it right, thanks to a blistering sense of speed and smooth, responsive 30 frame-per-second gameplay that outpaced...
Servers: Cool Once Again
22.1.2021
There were jokes coming back from the holiday break that JavaScript decided to go all server-side. I think it was rooted in:
The Basecamp gang releasing Hotwire, which looks like marketing panache around a combination of technologies. “HTML over
…
The post Servers: Cool Once Again...
Crypto and blockchain: What the Brazilian market can expect for 2021
22.1.2021
Cointelegraph Brasil invited some of the country’s top crypto and blockchain experts to chart the next steps for the market
useStateInCustomProperties
21.1.2021
In my recent “Custom Properties as State” post, one of the things I mentioned was that theoretically, UI libraries, like React and Vue, could automatically map the state they manage over to CSS Custom Properties so we could use that state …
The post...
Another day, another airdrop: power DeFi users can now claim Stake DAO tokens
21.1.2021
Multiple problems with Stake DAO's token airdrop have left some users on the outside looking in
How to Play and Pause CSS Animations with CSS Custom Properties
21.1.2021
Let’s have a look CSS @keyframes animations, and specifically about how you can pause and otherwise control them. There is a CSS property specifically for it, that can be controlled with JavaScript, but there is plenty of nuance to get …
The post How to Play and Pause CSS Animations with...
What if you could cut your hosting costs by 80%? Webiny Serverless CMS makes it possible.
21.1.2021
Are you hosting one or more websites and are using a headless CMS? Are you hosting your CMS on a virtual machine or a container, or using a SaaS solution? If so, then you’re paying for the uptime, regardless if …
The post What if you could cut your hosting costs by 80%? Webiny...
Scrollbars on Hover
21.1.2021
First, scrollbars are a usability and accessibility thing. Second, a rule of thumb: if an area scrolls, it should have a visible scrollbar. But the web is a big place and I like tricks, so I’m going to cover the …
The post Scrollbars on Hover appeared first on CSS-Tricks.
You...
You Can Buy A 912lb Box Of PlayStation Consoles
21.1.2021
What an age we live in. PlayStation consoles, by the pound.Read more
New in Chrome 88: aspect-ratio
20.1.2021
And it was released yesterday! The big news for us in CSS Land is that the new release supports the aspect-ratio property. This comes right on the heels of Safari announcing support for it in Safari Technology Preview 118, …
The post New in Chrome 88: aspect-ratio appeared first...
SEC’s "Crypto Mom" demands innovation, says you can’t prosecute an algorithm
20.1.2021
The commissioner of the SEC, Hester Peirce, told an audience at CFC 2021 that crypto regulation should be focused on innovation, and that the U.S should be number one
Lightweight Form Validation with Alpine.js and Iodine.js
20.1.2021
Many users these days expect instant feedback in form validation. How do you achieve this level of interactivity when you’re building a small static site or a server-rendered Rails or Laravel app? Alpine.js and Iodine.js are two minimal JavaScript …
The post Lightweight Form Validation with...
On-Scroll Letter Animations
20.1.2021
A small set of examples showing how letters can be animated on scroll.
The post On-Scroll Letter Animations appeared first on Codrops
Former Canadian Prime Minister Mentions Bitcoin Alongside Gold as Alternative Reserve Currencies
20.1.2021
Former Canadian prime minister Stephen Harper has mentioned bitcoin alongside gold as assets that can possibly act as alternative reserve currencies. However, the former premier still argues that despite the growing questions about the dollar’s reserve status, he does not see any real...
Bugsnax Is Mass Effect And I Can (Somewhat) Prove It
20.1.2021
I enjoyed Bugsnax far more than I thought I would. At first, it didn’t strike me as my kind of game when I judged it by its saccharine advertising billing it as a cutesy adventure romp in which I would eat my way through an island of colorful foodbugs. The reality of Bugsnax is much darker than...
Bitcoin can scale on chain just fine as a store of value, Blockdaemon CEO suggests
19.1.2021
Could Bitcoin's blockchain handle full mainstream adoption?
Goldman Sachs Can No Longer Dismiss Bitcoin
19.1.2021
According to a Goldman insider, the investment bank will leap into crypto custody soon
Life with ESM
19.1.2021
ESM, meaning ES Modules, meaning JavaScript Modules. Like, import and friends.
Browsers support it these days. There is plenty of nuance, but as long as you’ve dropped IE, the door is fairly open.
Before ESM, the situation for JavaScript …
The post Life with ESM appeared first...
Netlify Edge Handlers
19.1.2021
Netlify Edge Handlers are in Early Access (you can request it), but they are super cool and I think they are worth wrapping your brain around now. I think they change the nature of what Jamstack is and can be.…
The post Netlify Edge Handlers appeared first on CSS-Tricks.
You can support...