Search
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...
Responsible Web Applications
12.2.2021
Joy Heron bought a cool domain name and published an article there:
Luckily, with modern HTML and CSS, we can create responsive and accessible web apps with relative ease. In my years of doing software development, I have learned some
…
The post Responsible Web Applications appeared first...
Reconciling Editor Experience and Developer Experience in the CMS
12.2.2021
Components are great, aren’t they? They are these reusable sources of truth that you can use to build rock-solid front-ends without duplicating code.
You know what else is super cool? Headless content management! Headless content management system (CMS) products offer …
The post Reconciling...
The Devil’s Albatross
12.2.2021
Nils Binder talks about a technique for spacing between two elements. Picture a header on a large screen with a logo in the upper left and nav in the upper right. Then a small screen, when they can no longer …
The post The Devil’s Albatross appeared first on CSS-Tricks.
You can support...
Is CSS float deprecated?
12.2.2021
An interesting conversation came up at work the other day: Should we use the CSS float property now that we have CSS Grid and Flexbox?
The short answer
No! Well, mostly. I’d only use it today for wrapping text around …
The post Is CSS float deprecated? appeared first on CSS-Tricks.
You...
Progressive Web Apps in 2021
12.2.2021
Maximiliano Firtman has a look at PWAs this year, including trying to get a bead on how widespread they are:
At the end of 2020, approximately 1% of websites included a Service Worker, and 2.2% had an installable Web App
…
The post Progressive Web Apps in 2021 appeared first...
WordPress 5.7: Big ol’ jQuery Update
11.2.2021
WordPress core is making the jump from jQuery 1.12.4 to jQuery 3.5.1! This is a big deal for lots of reasons — like modern features, better DX, and security improvements to name a few. Right now, the plan is to …
The post WordPress 5.7: Big ol’ jQuery Update appeared first...
How to Build a GraphQL API for Text Analytics with Python, Flask and Fauna
11.2.2021
GraphQL is a query language and server-side runtime environment for building APIs. It can also  be considered as the syntax that you write in order to describe the kind of data you want from APIs. What this means for you …
The post How to Build a GraphQL API for Text Analytics with...
iframe feedback
11.2.2021
What if an <iframe had within it another <iframe of the exact same source? Inception, as they say. Baptise Crespy does this all-important research in the name of art and science.
Turns out browsers are smart enough to not …
The post iframe feedback appeared first on CSS-Tricks.
You...
HTML Video Sources Should Be Responsive
11.2.2021
Scott Jehl doesn’t mince words here:
Removing media support from HTML video was a mistake. It means that for every video we embed in HTML, we’re stuck with the choice of serving source files that are potentially too large or
…
The post HTML Video Sources Should...
:focus-visible Support Comes to Firefox
10.2.2021
Look at that! The :focus-visible pseudo-selector is now supported in Firefox, as of version 85 which shipped yesterday. I had to rush over to the MDN Docs just to confirm, and yep, the :focus-visible page has been updated to …
The post :focus-visible Support Comes to Firefox appeared first...
The Pokémon Company Swears It's Printing Pokémon Cards As Fast As It Can, Folks
10.2.2021
Pokémon trading cards have once again exploded in popularity, and the Pokémon Company is struggling to keep up with demand. Prices are surging for new packs thanks to scalpers and resellers as a result.Read more
How to Favicon in 2021
10.2.2021
I always appreciate someone looking into and re-evaluating the best practices of something that literally every website needs and has a complex set of requirements. Andrey Sitnik has done that here with favicons.
The final suggestion:
<link rel="icon" href="/favicon.ico"
…
The post...
‘Market Battleship’: Why It’s Rigged and How DeFi Can Help
10.2.2021
Individual investors, even when operating in a swarm, are destined to lose. How do I know? I helped design the game
The Differences in Web Hosting (Go with the Happy Path)
10.2.2021
One of our readers checked out “Helping a Beginner Understand Getting a Website Live” and had some follow up questions specifically about hosting providers. Here’s what they asked:
What’s the difference between hosting providers? For example, what is the difference...
What Is Bitcoin?
10.2.2021
First of its kind Bitcoin – the cryptocurrency, is a digital currency which can be passed on between users on a bitcoin network without any centralized bank or administrative system. What many people do not know is that there are … Continued
The post What Is Bitcoin? appeared first...
Virtual land can be worth more than the real thing after plot sells for record $1.5M
10.2.2021
Digital land is breaking new ground in terms of the price it can fetch, sometimes beating out the real thing
A table with both a sticky header and a sticky first column
10.2.2021
We’ve covered that individual <table> cells, <th> and <td> can be position: sticky. It’s pretty easy to make the header of a table stick to the top of the screen while scrolling through a bunch or rows (like this …
The post A table with both a sticky...
17 Years Later And I Still Can’t Beat Hannibal In Age Of Empires
10.2.2021
Xbox Game Pass has once again proven its worth by allowing me to confront a bully of my past: the Carthaginian general Hannibal Barca.Read more
Nested Media Queries
9.2.2021
We don’t have “regular” nesting in CSS. Maybe this becomes a thing someday, or something like it. That would be cool, although that pre-spec doesn’t mention anything about media queries. I’d hope we get that right out of the gate …
The post Nested Media Queries...