Search

Nalezeno "classes": 115

Man Makes Power Bank Able To Charge 5,000 Smartphones


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


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...

Open Props (and Custom Properties as a System)


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


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


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...

True Roguelikes Like This Are For Sick People, Drink From My Poison Chalice


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...

So you want to self-publish books and courses on programming


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...

Gaming Laptops Are Here To Stay


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


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


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...

Inline Styles as Classes (lol)


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


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...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace