Search
Man Makes Power Bank Able To Charge 5,000 Smartphones
31.1.2022
YouTuber Handy Geng noticed that all his buddies had bigger power banks than his. “I’m not so happy with that,” he writes. It bothered him! He could not sleep. So Handy Geng decided to change that by building the biggest power bank of all. Handy Geng put his D.I.Y. skills to the test, welding...
How to Cycle Through Classes on an HTML Element
26.1.2022
Say you have three HTML classes, and a DOM element should only have one of them at a time:
<div class="state-1"</div<div class="state-2"</div<div class="state-3"</div
Now your job is to rotate them. That is, cycle through classes …
How to Cycle Through Classes on...
How To Pick The Best Four-Star Character In Genshin Impact's Lantern Rite Event
24.1.2022
Don’t fret if you’ve had absolutely terrible luck rolling for characters in Genshin Impact gacha banners. The Lantern Rite Festival is running again this year, which means that every player will be able to earn a free four-star character in the Fleeting Colors in Flight event. After accumulating...
Mandates Ban Unvaccinated From Visiting Banks in Multiple Countries, Australian Premier Says ‘There’s Going to Be a Vaccinated Economy’
22.12.2021
Over the last few weeks, furious debates over Covid-19 and vaccine mandates have divided people into two classes. On December 21, one individual from Argentina explained in a forum that “banks in Argentina are not letting unvaccinated people inside.” The person said that whether...
Open Props (and Custom Properties as a System)
6.12.2021
Perhaps the most basic and obvious use of CSS custom properties is design tokens. Colors, fonts, spacings, timings, and other atomic bits of design that you can pull from as you design a site. If you pretty much only pull …
13 Things I Wish Someone Told Me Before I Started Death’s Door
24.11.2021
Haven’t you heard? Death’s Door is one of the best games of the year. It’s also one of the toughest. Acid Nerve’s isometric dungeon-crawler, which came out to great acclaim in July on Xbox and PC, landed on PlayStation and Switch this week—just in time for GotY season. How convenient.Read more
Reimagine Atomic CSS
19.11.2021
I’m not the biggest fan of Atomic CSS myself. I don’t like all the classes. I like to express my styles in CSS because I find CSS… good. But I appreciate that a lot of people seem to like it, …
The post Reimagine Atomic CSS appeared first on CSS-Tricks. You can support...
South African University to Commence Blockchain and Digital Currency Education in November
4.10.2021
A South African university, the University of Cape Town (UCT) has revealed it will commence blockchain and digital currency classes starting in November. According to the institution, students that enroll and complete the $693 six-week course will be issued a legal certificate. Better Understanding...
True Roguelikes Like This Are For Sick People, Drink From My Poison Chalice
10.9.2021
There are over 40 blood wolves around me, and they are absolutely kicking vampire ass. Those are wolves made of blood, in case you weren’t sure that’s what I meant. You’d think the vampires would be drinking that blood, but no, there are just too many blood wolves. They’re getting owned. I am...
Wildermyth’s Incredible, Dynamic Storytelling Is Giving Me GotY Vibes
31.8.2021
Wildermyth has already secured a spot on my Game of the Year list, and barring any unforeseen gems, it will be near the top. Here’s an example of why:Read more
Efficient Infinite Utility Helpers Using Inline CSS Custom Properties and calc()
6.8.2021
I recently wrote a very basic Sass loop that outputs several padding and margin utility classes. Nothing fancy, really, just a Sass map with 11 spacing values, looped over to create classes for both padding and margin on each side. …
The post Efficient Infinite Utility Helpers Using Inline...
So you want to self-publish books and courses on programming
29.7.2021
John Resig and I recently self-published our book on GraphQL. There are tons of how-tos for self-publishing a book, or even online classes, but very little in the way of why you would want to, or whether it’s even worth …
The post So you want to self-publish books and courses on programming...
I’m Obsessed With These Low-Rent CSGO No-Scope ‘Hacks’
29.7.2021
People try all sorts of things to get an advantage in CSGO, PUBG, Fortnite, or any competitive game. But recently, I’ve been stuck watching one player’s gloriously low-rent efforts to improve their sniping.Read more
Gaming Laptops Are Here To Stay
19.7.2021
When most people think of gaming, it’s usually on a console or a PC. A desktop PC, specifically. At least that’s what I thought. But now gaming laptops are becoming more powerful, more user-friendly, and most importantly, more affordable. I had the opportunity to try out the GE76 Raider Gaming...
Chromium spelling and grammar features
29.6.2021
Delan Azabani digs into the (hopefully) coming soon ::spelling-error and ::grammar-error pseudo selectors in CSS. Design control is always nice. Hey, if we can style scrollbars and style selected text, why not this?
The squiggly lines that indicate...
:nth-child Between Two Fixed Indexes
29.6.2021
I needed to select some elements between two fixed indexes the other day — like literally the second through fifth elements. Ironically, I have a whole post on “Useful :nth-child Recipes” but this wasn’t one of them.
The answer, it …
The post :nth-child Between Two Fixed...
If we’re gonna criticize utility-class frameworks, let’s be fair about it
22.6.2021
I’m not here to raise a shield protecting CSS utility frameworks. I don’t even particularly like the approach, myself, and nothing is above fair criticism. But fair is a key word there. I can’t tell you how many times I’ve …
The post If we’re gonna criticize...
An asset for all classes: What to expect from Bitcoin as a legal tender
17.6.2021
New tech that reduces costs of international payments would “be a boon for poor countries that rely on remittances” — but will BTC as legal tender fix that?
Inline Styles as Classes (lol)
16.6.2021
If you’re abhorred by using inline styles, just move that style to the class attribute! And then make sure you have CSS in place that, ya know, does what it says on the box.
I've revolutionized CSS. pic.twitter.com/1AWCldyCwP
— Sam
…
The post Inline Styles as Classes (lol)...
Detect Unused Classes in… HTML
16.6.2021
Usually, when “unused” comes up in conversation regarding CSS, it’s about removing chunks of CSS that are not used in your site or, at least, the styles not currently in use on a specific page. The minimal amount of CSS …
The post Detect Unused Classes in… HTML...