Search
How to Create Actions for Selected Text With the Selection API
28.4.2021
Click, drag, release: you’ve just selected some text on a webpage — probably to copy and paste it somewhere or to share it. Wouldn’t it be cool if selecting that text revealed some options that make those tasks easier? That’s …
The post How to Create Actions for Selected Text With...
The Almost-Complete Guide to Cumulative Layout Shift
22.4.2021
Here’s Jess B. Peck writing all about Google’s Core Web Vitals:
Let’s step back one. CLS is when you’re about to click on a link, and the whole page shifts and you click on a different link instead. It’s when
…
The post The Almost-Complete Guide to Cumulative Layout Shift...
Detect CSS Overflow Elements
8.4.2021
Every once in a while you encounter a CSS annoyance that takes some cleverness to discover. One such case rears its ugly head in unwanted and unexpected scrollbars. When I see unwanted scrollbars, I usually open developer tools, click the element inspector, and hover around until I find...
Click Outside Detector
2.4.2021
It’s a reasonable UX thing that you can click-to-open something, and then not only be able to click that same thing to close it, but click outside the thing that it opened to close it. Kitty Giraudel just blogged about …
The post Click Outside Detector appeared first on CSS-Tricks.
You...
In Praise of the Unambiguous Click Menu
18.3.2021
I still remember my excitement when I learned how to build a hover-triggered submenu with just CSS. (It was probably after reading this 2003 article from A List Apart.) At the time, it was a true CSS trick. Seriously. …
The post In Praise of the Unambiguous Click Menu appeared first...
Don't Click On Those Resident Evil Village Early Access Emails
11.3.2021
Lotta people want to play the game with the big lady! And scammers know this, so fake emails have been circulating inviting players to an early access beta which doesn’t actually exist. Enough emails that Capcom has sent out a warning email of its own.Read more
Don’t put pointer-events: none on form labels
12.2.2021
Bruce Lawson with the tip of the day, warning against the use of pointer-events: none on forms labels. We know that pointer-events is used to change how elements respond to click, tap, hover, and active states. But it apparently borks …
The post Don’t put pointer-events: none on form labels...
On Type Patterns and Style Guides
19.1.2021
Over the last six years or so, I’ve been using these things I’ve been calling “type patterns” in my web design work, and they’ve worked out pretty well for me. I’ll dig into what they are and how they can …
The post On Type Patterns and Style Guides appeared first on CSS-Tricks.
You...
Deploying a Serverless Jamstack Site with RedwoodJS, Fauna, and Vercel
22.12.2020
This article is for anyone interested in the emerging ecosystem of tools and technologies related to Jamstack and serverless. We’re going to use Fauna’s GraphQL API as a serverless back-end for a Jamstack front-end built with the Redwood framework and deployed with a one-click deploy on Vercel.
In...
Exploring What the Details and Summary Elements Can Do
26.11.2020
We’ve mentioned before just how great the <details> and <summary> elements are. They’re great for quickly making accordions that are accessible to touch, mouse, and keyboard input:
CodePen Embed Fallback
<details> and <summary> can even be used to play/pause gifs!...
Anima 4.0: Go Straight From Design to React in the Design Handoff
27.10.2020
Imagine this scenario: You get an email from the design team. It contains a link to a high-fidelity prototype of a React app they want you to build. You click the link and get ready to inspect the work only to find… the components have already been built.
Huh?
It might sound like a dream...
The :focus-visible Trick
16.10.2020
Always worth repeating: all interactive elements should have a focus style. That way, a keyboard user can tell when they have moved focus to that element.
But if you use :focus alone for this, it has a side effect that a lot of people don’t like. It means that when you click (with a mouse)...
On the Web Share API
6.10.2020
I think the Web Share API is very cool (here’s our coverage). In a nutshell, it taps into the native sharing features on whatever platform you’re on, if that platform supports it. So essentially…
I like this:
Web Share API activated on iOS
A heck of a lot more than these...
Make Your Own Dev Tool
29.9.2020
Amber Wilson on making bookmarklets to help yo-self. She shows off one that injects an accessibility script — I like this approach, as it means you don’t have to maintain the bookmarklet, just the script it links to). Another example runs some code contained right in the link. The result...
CEX.IO to Provide One-Click DeFi Access, Lists New Tokens, and Offers Instant 0% Fee Visa Deposits
26.9.2020
LONDON, the United Kingdom, September 26 – CEX.IO, one of the leading international cryptocurrency exchanges, announces its plans for entering the decentralized finance (DeFi) market. To set the stage, CEX.IO lists major DeFi tokens on its exchange platform and offers instant, 0% fee Visa...
Meet Torus, the One-Click Blockchain Wallet Trying to Make Web3 as Easy as Chrome
31.8.2020
Singapore-based Torus Labs has released a Chrome browser extension for its Torus wallet and added a new product called tKey, a custom version of 2FA
Offering Options for mailto: and tel: Links
21.8.2020
I generally like mailto: links. But I feel like I can smell a mailto: link without even inspecting or clicking it, like some kind of incredibly useless superpower. I know that if I’ve got my default mail client set, clicking that link will do what I want it to do, and if I want, I...
Queue Jumping in Netlify
18.8.2020
Cutting to the chase: if you’re on a Business or Enterprise team on Netlify, you can click a build to make it run next in a queue. For example, if you have a really time-sensitive thing (e.g. a bug fix going to production), it can jump ahead of some random development branch building....
Unraveling the Blockchain and Crypto Gaming World One Click at a Time
15.8.2020
The latest wave of incoming blockchain-enabled games promise AAA experiences for gamers, potentially exposing 2.5 billion people to crypto
Practical Use Cases for JavaScript’s closest() Method
12.8.2020
Have you ever had the problem of finding the parent of a DOM node in JavaScript, but aren’t sure how many levels you have to traverse up to get to it? Let’s look at this HTML for instance:
<div data-id="123"<buttonClick me</button</div
That’s pretty straightforward, right? Say...