Search
Before I go: When it comes to complaining about web browsers
22.2.2022
That’s a damn one-two punch from Dave. He goes for the ultimate clickbait title¹, then follows up with a pile of epic advice for us all. If you want web browsers to get better, listen up:
Complaining on
…
Before I go: When it comes to complaining about web browsers originally...
Easy Asset Access with the Cloudinary Media Library Browser Extension
31.1.2022
Readers of my blog will know that I’ve been banging the Cloudinary drum for years. Their awesome media capabilities allow users to optimally deliver images, video, and audio in any format and to any device. Performance, customization, flexibility, optimized delivery… Cloudinary makes...
The Optional Chaining Operator, “Modern” Browsers, and My Mom
30.1.2022
Jim Nielsen’s mom couldn’t open a website. Jim worked on confirming the issue and documented how he got to the bottom of it:
“[…] well it can’t be a browser issue. It’s not like my Mom is using Internet Explorer!
…
The Optional Chaining Operator, “Modern” Browsers,...
Ship a Full-Stack App in Days with AWS Amplify Studio
13.12.2021
(This is a sponsored post.)
Amazon has a vision with AWS Amplify. First, a premise:
As browsers have become faster and more powerful over the last decade, front-end developers are building web apps that are more feature-rich and …
Favicons: How to Make Sure Browsers Only Download the SVG Version
5.11.2021
Šime Vidas DM’d me the other day about this thread from subzey on Twitter. My HTML for favicons was like this:
<!-- Warning! Typo! --<link rel="icon" href="/favicon.ico" size="any"<link rel="icon" href="/favicon.svg" type="image/svg+xml"
The attribute size is a typo there...
CSS is Going Gosh-Darned Hog Wild, I Tell Ya What
13.10.2021
As someone just sittin’ back watching CSS evolve, it feels like we’re at one of the hottest moments of innovation in CSS history. It was really something when we got flexbox across all browsers, and not terribly long after, grid. …
The post CSS is Going Gosh-Darned Hog Wild,...
Cash (Tiny jQuery Alternative)
11.10.2021
The README for Cash is straightforward:
Cash is an absurdly small jQuery alternative for modern browsers (IE11+) that provides jQuery-style syntax for manipulating the DOM. Utilizing modern browser features to minimize the codebase, developers can use the familiar chainable methods
…
The...
Quickly Testing CSS Fallbacks
4.10.2021
Dumb trick alert!
Not all browsers support all features. Say you want to write a fallback for browsers that doesn’t support CSS Grid. Not very common these days, but it’s just to illustrate a point.
You could write the supporting …
The post Quickly Testing CSS Fallbacks appeared...
Comparing HTML Preprocessor Features
30.9.2021
(This is a sponsored post.)
Of the languages that browsers speak, I’d wager that the very first one that developers decided needed some additional processing was HTML. Every single CMS in the world (aside from intentionally headless-only CMSs) …
The post Comparing HTML Preprocessor...
2021 Scroll Survey Report
16.9.2021
Here’s a common thought and question: how do browsers prioritize what they work on? We get little glimpses of it sometimes. We’re told to “star issues” in bug trackers to signal interest. We’re told to get involved in GitHub threads …
The post 2021 Scroll Survey...
Firefox’s `bolder` Default is a Problem for Variable Fonts
7.9.2021
Variable fonts make it easy to create a large set of font styles from a single font file. Unfortunately, the default rendering of the <b> and <strong> elements in browsers today is not very compatible with the wide range of …
The post Firefox’s `bolder` Default is a Problem...
Early Days for CSS Scoping
6.9.2021
There is a working draft spec for CSS scoping now, a newsworthy event for the W3C. Other than a weird period where <style scoped shipped and then was subsequently removed from the spec (and browsers), this is the furthest a …
The post Early Days for CSS Scoping appeared first...
The Fixed Background Attachment Hack
27.8.2021
What options do you have if you want the body background in a fixed position where it stays put on scroll? background-attachment: fixed in CSS, at best, does not work well in mobile browsers, and at worst is not even …
The post The Fixed Background Attachment Hack appeared first...
CSS Nesting, specificity, and you
10.8.2021
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...
onInput Event
3.8.2021
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...
The Web’s Worst Default
7.7.2021
There are a lot of great defaults when it comes to browsers and the web. Think about all the accessibility features that are baked into HTML so that you don’t have to do weird stuff, like this example from Manuel…
The post The Web’s Worst Default appeared first on CSS-Tricks. You can support...
Using Performant Next-Gen Images in CSS with image-set
23.6.2021
The CSS image-set() function has been supported in Chromium-based browsers since 2012 and in Safari since version 6. Support recently landed in Firefox 88. Let’s dive in and see what we can and can’t do today with image-set().…
The post Using Performant Next-Gen Images in CSS with image-set...
Wrangling Control Over PDFs with the Adobe PDF Embed API
24.5.2021
By our last estimate, there are now more PDFs in the world than atoms in the universe (not verified by outside sources) so chances are, from time to time, you’re going to run into a PDF document or two. Browsers …
The post Wrangling Control Over PDFs with the Adobe PDF Embed...
Text That Sometimes Turns to Emojis
22.4.2021
There are some Unicode characters that some browsers just decide they are going to turn into emojis for you. I couldn’t tell you why exactly, but here’s what I see:
Chrome on the left. Safari in the simulator on top…
The post Text That Sometimes Turns to Emojis appeared first...
Gaze Upon My Browser Extensions and Despair
14.4.2021
They’re not what any of us would call “intimate,” but you can really tell a lot about a person from a quick glance at the browser extensions they use. Is your boyfriend’s browser decorated with favicons from Evernote, Trello, and literally nothing else? He’s either a type-A perfectionist or zen...