Search
Luxury Italian Retailer Michele Franzese Moda Reveals Fashion Brand Accepts Crypto Payments
26.3.2022
The Italian luxury brand Michele Franzese Moda has announced the firm is accepting crypto assets for payments. The company revealed the decision via Michele Franzese Moda’s online magazine in an article called “Its Time for Crypto.” Italian luxury Brand Michele Franzese Moda...
Write HTML, the HTML Way (Not the XHTML Way)
21.3.2022
You may not use XHTML (anymore), but when you write HTML, you may be more influenced by XHTML than you think. You are very likely writing HTML, the XHTML way.
What is the XHTML way of writing HTML, and what …
Write HTML, the HTML Way (Not the XHTML Way) originally published on CSS-Tricks....
Optimizing SVG Patterns to Their Smallest Size
18.3.2022
I recently created a brick wall pattern as part of my #PetitePatterns series, a challenge where I create organic-looking patterns or textures in SVG within 560 bytes (or approximately the size of two tweets). To fit this constraint, I have …
Optimizing SVG Patterns to Their Smallest Size...
CSS-Tricks is joining DigitalOcean!
15.3.2022
Hey hey!
I’ve got a big announcement to make here. (Where’s my gong? I feel like this really needs a good gong hit.)
CSS-Tricks, this very website you’re looking at, has been acquired by DigitalOcean!
You can hear …
CSS-Tricks is joining DigitalOcean! originally published...
Say Hello to selectmenu, a Fully Style-able select Element
3.3.2022
I want to introduce you to a new, experimental form control called <selectmenu>. We’ll get deep into it, including how much easier it is to style than a traditional <select> element. But first, let’s fill in some context …
Say Hello to selectmenu, a Fully Style-able select...
7 Fresh Links on Performance For March 2022
2.3.2022
I have a handful of good links to articles about performance that are burning a hole in my bookmarks folder, and wanna drop them here to share.
The new WebPageTest website design
From fonts to SVG: an icon migration strategy
…
7 Fresh Links on Performance For March 2022 originally...
How to Make a “Raise the Curtains” Effect in CSS
2.3.2022
“Raise the curtains” is what I call an effect where the background goes from dark to light on scroll, and the content on top also goes from light to dark while in a sticky position.
Here’s an example where I …
How to Make a “Raise the Curtains” Effect in CSS originally published...
CSS Custom Highlight API: The Future of Highlighting Text Ranges on the Web
1.3.2022
Styling ranges of text in software is a very useful thing to be able to do. Thankfully, we have the CSS Custom Highlight API to look forward to because it represents the future of styling text ranges on the web.…
CSS Custom Highlight API: The Future of Highlighting Text Ranges on the...
IE Down, Edge Up… Global Browser Usage Stats Are for Cocktail Parties and Conference Slides
1.3.2022
I enjoy articles like Hartley Charlton’s “Microsoft Edge Looks Set to Overtake Safari as World’s Second Most Popular Desktop Browser.” It’s juicy! We know these massive players in the browser market care very much about their market share, so when …
IE Down...
Web Component Pseudo-Classes and Pseudo-Elements are Easier Than You Think
28.2.2022
We’ve discussed a lot about the internals of using CSS in this ongoing series on web components, but there are a few special pseudo-elements and pseudo-classes that, like good friends, willingly smell your possibly halitotic breath before you go …
Web Component Pseudo-Classes...
When to Avoid the text-decoration Shorthand Property
25.2.2022
In my recent article about CSS underline bugs in Chrome, I discussed text-decoration-thickness and text-underline-offset, two relatively new and widely-supported CSS properties that give us more control over the styling of underlines.
Let me demonstrate the usefulness of …
When to Avoid...
Explain the First 10 Lines of Twitter’s Source Code to Me
24.2.2022
For the past few weeks, I’ve been hiring for a senior full-stack JavaScript engineer at my rental furniture company, Pabio. Since we’re a remote team, we conduct our interviews on Zoom, and I’ve observed that some developers are not …
Explain the First 10 Lines of Twitter’s Source Code...
CSS Database Queries? Sure We Can!
23.2.2022
Kinda silly sounding, isn’t it? CSS database queries. But, hey, CSS is capable of talking to other languages in the sense that it can set the values of things that they can read. Plus, CSS can request other files, and …
CSS Database Queries? Sure We Can! originally published...
5 Accessibility Quick Wins You Can Implement Today
23.2.2022
Let’s face it: building an AA or AAA-accessible product can be quite daunting. Luckily, having an accessible product isn’t all-or-nothing. Even seemingly small improvements can have nice quality of life benefits for many people.
In that spirit, here are five …
5 Accessibility Quick Wins...
Journalist Claims She Identified the 2016 DAO Hacker, Evidence Shows Investigators ‘De-Mixed’ Wasabi Transactions
22.2.2022
An article published by journalist Laura Shin, and research stemming from the blockchain surveillance firm Chainalysis, claims to identify the alleged identity of The DAO hacker who drained millions of dollars worth of ethereum from the decentralized autonomous organization on June 17, 2016....
Reliably Send an HTTP Request as a User Leaves a Page
22.2.2022
On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a form. Consider this contrived example of sending some information to …
Reliably Send an HTTP Request as a User Leaves a Page originally...
A Complete Guide to CSS Cascade Layers
21.2.2022
This is your complete guide to CSS cascade layers, a CSS feature that allows us to define explicit contained layers of specificity, so that we have full control over which styles take priority in a project without relying on specificity …
A Complete Guide to CSS Cascade Layers originally...
Comparing Node JavaScript to JavaScript in the Browser
18.2.2022
Being able to understand Node continues to be an important skill if you’re a front-end developer. Deno has arrived as another way to run JavaScript outside the browser, but the huge ecosystem of tools and software built with Node mean …
Comparing Node JavaScript to JavaScript in the Browser...
Subsetting Font Awesome to Improve Performance
17.2.2022
Font Awesome is an incredibly popular icon library. Unfortunately, it’s somewhat easy to use in a way that results in less-than-ideal performance. By subsetting Font Awesome, we can remove any unused glyphs from the font files it provides. This will …
Subsetting Font Awesome to Improve...
An Auto-Filling CSS Grid With Max Columns of a Minimum Size
16.2.2022
Within Drupal 10 core, we’re implementing a new auto-filling CSS Grid technique that I think is cool enough to share with the world.
The requirements are:
The user specifies a maximum number of columns. This is the auto-filling grid’s “natural”
…
An Auto-Filling CSS Grid With Max Columns...