Search

Nalezeno "handle": 185

The Ultimate Guide to Dark Mode for Email Marketers


On the regular web (I suppose) we handle "dark mode" with the CSS prefers-color-scheme media query. But, and to nobody's surprise, it's way weirder in the land of HTML email. The weirdness is that across different email clients, they handle the dark mode thing differently, starting with the fact...

Multi-Thumb Sliders: Particular Two-Thumb Case


This is a concept I first came across a few years back when Lea Verou wrote an article on it. Multi-range sliders have sadly been removed from the spec since, but something else that has happened in the meanwhile is that CSS got better — and so have I, so I recently decided to make my...

Adding Dynamic And Async Functionality To JAMstack Sites


Jason Lengstorf: Here’s an incomplete list of things that I’ve repeatedly heard people claim the JAMstack can’t handle that it definitely can: Load data asynchronously Handle processing files, such as manipulating images Read from and write to a database Handle user authentication and protect...

Quoting in HTML: Quotations, Citations, and Blockquotes


It’s all too common to see the incorrect HTML used for quotes in markup. In this article, let’s dig into all this, looking at different situations and different HTML tags to handle those situations. There are three major HTML elements involved...

Bitcoin’s Popular Twitter Handle Abandoned BCH for BTC?


A screenshot of the new @Bitcoin page. There’s hardly a single inhabitant of Cryptoland who is not aware of the clash between Bitcoin (BTC) and Bitcoin Cash (BCH), ever since (or likely even before), in 2017, BCH was created as a hard fork of BTC. However, an interesting and sudden thing happened...

Finally… A Post on Finally in Promises


“When does finally fire in a JavaScript promise?” This is a question I was asked in a recent workshop and I thought I’d write up a little post to clear up any confusion. The answer is, to quote Snape: ...always. The basic structure is like this: try { // I’ll try to execute some code...

How to Invest in Cryptocurrency Without Worrying About Volatility


Seeing the value of your portfolio fluctuating can keep you up at night or push you to sell when prices are low, especially in a fast moving market like cryptocurrency. Luckily, there are ways to mitigate that. Also Read: Bitcoin Cash Development Fund Receives Massive Support Use Dollar Cost...

Detect Responsive Screen Sizes in Angular


Most of the time, we use CSS media queries to handle responsive, screen size changes to layout our content differently. However, there are times where CSS media queries alone isn't sufficient for t

How Much Adoption Can Bitcoin Handle Right Now?


Source: iStock/da-kuk Adoption is the holy grail of Bitcoin. However, as fantastic as large-scale adoption would be in theory, there remain serious questions as to whether Bitcoin and its blockchain can genuinely handle such adoption. Because while Bitcoin has witnessed a number of significant...

The Simplest Ways to Handle HTML Includes


It's extremely surprising to me that HTML has never had any way to include other HTML files within it. Nor does there seem to be anything on the horizon that addresses it. I'm talking about straight up includes, like taking a chunk of HTML and plopping it right into another. For example the...

Using React Loadable for Code Splitting by Components and Routes


In a bid to have web applications serve needs for different types of users, it’s likely that more code is required than it would be for one type of user so the app can handle and adapt to different scenarios and use cases, which lead to new features and functionalities. When this happens, it’s...

Did you know that CSS Custom Properties can handle images too?


So you might be aware of CSS Custom Properties that let you set a variable, such as a theme color, and then apply it to multiple classes like this: :root { --theme: #777; } .alert { background: var(—-theme); } .button { background: var(—-theme); } Well, I had seen this pattern so often...

Using React and XState to Build a Sign In Form


To make a sign in form with good UX requires UI state management, meaning we’d like to minimize the cognitive load to complete it and reduce the number of required user actions while making an intuitive experience. Think about it: even a relatively simple email and password sign in form needs...

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