Search

Nalezeno "LINE": 603

The Big Gotcha With Custom Properties


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

Turmoil For Japanese Anime Power Couple


Voice actor Tatsuhisa Suzuki and his popstar wife LiSA are an anime power couple. But earlier this month—following revelations about Suzuki’s alleged extra-marital activities—they suddenly announced they were taking a break from the entertainment industry. Read more

Zilliqa (ZIL) Faces Tough Resistance at 100 DMA Line!


Zilliqa has finally met its nemesis, one that can put a halt to its juggernaut rally. 100 day moving average is a strong line that determines the sentiment on an asset and is calculated over the price action of the last 100 days. Breaking such a resistance further brings buying sentiment as...

Static vs. Dynamic vs. Jamstack: Where’s The Line?


You’ll often hear developers talking about “static” vs. “dynamic” sites, or you may have heard someone use the term Jamstack. What do these terms mean, and when does a “static” site become either a Jamstack or dynamic site? These … The post Static vs. Dynamic vs. Jamstack:...

CSS Nesting, specificity, and you


Here’s Kilian Valkhof on CSS nesting which isn’t available in browsers yet, but will be soon. There are a few differences he notes between CSS nesting and nesting in Sass or Less though. Take, for example, the following code: div … The post CSS Nesting, specificity, and you appeared...

Choice Words about the Upcoming Deprecation of JavaScript Dialogs


It might be the very first thing a lot of people learn in JavaScript: alert("Hello, World"); One day at CodePen, we woke up to a ton of customer support tickets about their Pens being broken, which ultimately boiled down to … The post Choice Words about the Upcoming Deprecation of JavaScript...

onInput Event


Coding HTML forms has been painful my entire career. Form controls look different between operating systems and browsers, coding client side and server side validation is a nightmare, and inevitably you forget something somewhere along the line. Some behaviors don’t act the way you’d...

Bank of Russia Advises Stock Exchanges to Avoid Trading Crypto Instruments


In line with its hardline stance on cryptocurrencies, the Central Bank of Russia (CBR) has issued a recommendation against the listing of securities tied to crypto assets on the country’s stock exchanges. The “preventive measure” will not affect state-issued digital currencies....

ECMAScript proposal: JSON modules


Dr. Axel Rauschmayer looks at JSON modules, which is already live in Chrome 91 (but nothing else). It looks just like an ES Modules-style import, only you asset the type at the end. import configData from './config-data.json' assert {type: … The post ECMAScript proposal: JSON modules...

Dark Mode in One Line of Code!


Dark mode has seemingly become the desired visual mode for websites and mobile apps alike. Dark mode is easier on the eyes, especially for those like me who like to burn the midnight oil by coding and reading tutorials. Unfortunately not all websites offer dark mode, so it’s up to me...

Godzilla, Who Is My Friend, Has A New (And Very Good) Game


It can be hard to care about anything in the depths of depression and anxiety, so when even eating goes by the wayside, fitting video games into the daily grind seems silly. That’s why, during a pretty rough last few weeks, I’ve been surprised to find myself constantly returning to Godzilla Battle...

Using the Specificity of :where() as a CSS Reset


I don’t know about you, but I write these three declarations many times in my CSS: ul { padding: 0; margin: 0; list-style-type: none; } You might yell at me and say I can just put those in my CSS … The post Using the Specificity of :where() as a CSS Reset appeared first on CSS-Tricks....

Building a Command Line Tool with Nodejs and Fauna


Command line tools are one of the most popular applications we have today. We use command line tools every day, and they range from git, npm or yarn. Command line tools are very fast and useful for automating applications and … The post Building a Command Line Tool with Nodejs and Fauna...

Body Toggle


I appreciate the clarity of this trick that Mikael Ainalem posted over on Reddit: It’s a one-liner that toggles the class on the <body> so you can mock up different states and toggle between them on click. <body onclick="this.classList.toggle("active");" Could … The post...

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