Search
Here’s Red Dead Redemption Running At 60FPS On A Hacked Switch
21.8.2023
The new port of Red Dead Redemption is locked at 30fps, even on a PlayStation 5. Switch enthusiasts who like to experiment with pushing the aging handheld hybrid tech to the max, however, can get it running at 60fps, at least in the early parts of the game.Read more
Snoop Dogg Sports Blinged-Out Crypto Hardware Wallet at Wrestlemania 39
7.4.2023
Four days ago, the American rapper, entrepreneur, and owner of Death Row Records, Snoop Dogg, hosted WWE’s annual event, Wrestlemania 39, in Hollywood. The rap star was spotted wearing a gold and black diamond Ledger Nano X around his neck on a gold chain. Over the last year, Snoop has been...
Making Calendars With Accessibility and Internationalization in Mind
13.3.2023
Doing a quick search here on CSS-Tricks shows just how many different ways there are to approach calendars. Some show how CSS Grid can create the layout efficiently. Some attempt to bring actual data into the mix. Some …
Making Calendars With Accessibility and Internationalization in Mind...
An Approach to Lazy Loading Custom Elements
13.2.2023
We’re fans of Custom Elements around here. Their design makes them particularly amenable to lazy loading, which can be a boon for performance.
Inspired by a colleague’s experiments, I recently set about writing a simple auto-loader: Whenever a custom …
An Approach to Lazy Loading...
Web3 Applications Will Increasingly Be Built on Custom Blockchains, Says Ankr’s Head of Product
16.12.2022
As blockchain developers compete for traffic and resources for their respective dapps (decentralized applications), the downside to this, according to some in the industry, can be a poor user experience which in turn undermines the mass adoption cause. Therefore, unless current blockchains —...
Bored Apes, Moonbirds to feature on NFT-customized Mastercard debit cards
27.9.2022
The customizable card will only support NFT avatars from select blue chip collections, subject to Mastercard’s design standards and an owner verification process
How I Made an Icon System Out of CSS Custom Properties
22.9.2022
SVG is the best format for icons on a website, there is no doubt about that. It allows you to have sharp icons no matter the screen pixel density, you can change the styles of the SVG on hover …
How I Made an Icon System Out of CSS Custom Properties originally published on CSS-Tricks, which...
Making a Real-Time Clock With a Conic Gradient Face
19.9.2022
Gradients have been a part of the CSS spectrum for quite some time now. We see a lot of radial and linear gradients in a lot of projects, but there is one type of gradient that seems to be a …
Making a Real-Time Clock With a Conic Gradient Face originally published on CSS-Tricks, which...
Interpolating Numeric CSS Variables
30.8.2022
We can make variables in CSS pretty easily:
:root {
--scale: 1;
}
And we can declare them on any element:
.thing {
transform: scale(--scale);
}
Even better for an example like this is applying the variable on a user …
Interpolating Numeric CSS Variables originally published...
CSS Custom Highlight API: The Future of Highlighting Text Ranges on the Web
1.3.2022
Styling ranges of text in software is a very useful thing to be able to do. Thankfully, we have the CSS Custom Highlight API to look forward to because it represents the future of styling text ranges on the web.…
CSS Custom Highlight API: The Future of Highlighting Text Ranges on the...
Multi-Value CSS Properties With Optional Custom Property Values
11.2.2022
Imagine you have an element with a multi-value CSS property, such as transform: optional custom property values:
.el {
transform: translate(100px) scale(1.5) skew(5deg);
}
Now imagine you don’t always want all the transform values to be applied, so some …
Multi-Value CSS Properties With...
Jack Dorsey’s Payments Company Is ‘Officially Building an Open Bitcoin Mining System’
16.1.2022
In mid-October 2021, Twitter founder Jack Dorsey revealed the payments firm Block Inc. (formally Square) was considering joining the bitcoin mining industry. Three months later, Dorsey tweeted that his firm was “officially building an open bitcoin mining system.” The Block’s...
How to Make a Pure CSS 3D Package Toggle
12.1.2022
You know how you can get cardboard boxes that come totally flat? You fold ‘em up and tape ‘em to make them into a useful box. Then when it’s time to recycle them, you cut them back apart to flatten …
How to Make a Pure CSS 3D Package Toggle originally published on CSS-Tricks. You should...
Don’t Fight the Cascade, Control It!
10.1.2022
If you’re disciplined and make use of the inheritance that the CSS cascade provides, you’ll end up writing less CSS. But because our styles often comes from all kinds of sources — and can be a pain to structure and …
Don’t Fight the Cascade, Control It! originally published...
The surprising behavior of !important in CSS custom property values
17.12.2021
Huh! I did not realize that CSS custom properties had their own resolution behavior for how !important works in their values. Uh, despite writing a guide about them. 😬 But hey it’s now updated.
Stefan Judis documents it clearly. …
PlayStation 4 Jailbroken, Exploit May Work On PS5 Too
13.12.2021
December 13, 2021 may go down in history as the day the PlayStation 4 finally got blown wide open, as a trio of noted console hackers just released a new, ready-to-run kernel exploit for the PlayStation 4 and PlayStation 4 Pro that works on firmware version 9.00 and earlier. In other words, running...
Parallax Powered by CSS Custom Properties
19.11.2021
Good friend Kent C. Dodds has recently dropped his new website which had a lot of work go into it. I was fortunate enough that Kent reached out a while back and asked if I could come up with some …
The post Parallax Powered by CSS Custom Properties appeared first on CSS-Tricks. You...
Jack Dorsey Says Square Is Considering Building a ‘Bitcoin Mining System Based on Custom Silicon’
16.10.2021
Following the latest report from Cambridge University that shows a large percentage of the Bitcoin network’s hashrate resides in the United States, the CEO of Twitter and Square, Jack Dorsey, has announced that Square is considering building a “bitcoin mining system based on custom...
Different Degrees of Custom Property Usage
14.10.2021
One way to work with Custom Properties is to think of them as design tokens. Colors, spacings, fonts, and whatnot. You set them at the root of the page and use them throughout your CSS. Very useful, and the classic …
The post Different Degrees of Custom Property Usage appeared first...
The Big Gotcha With Custom Properties
19.8.2021
I’ve seen this confuse more than a handful of people recently, including myself, so I’m making sure it’s written down.
Let’s chuck a couple of custom properties into CSS:
html {
--color-1: red;
--color-2: blue;
}
Let’s use them right …
The post The...