Search

Nalezeno "Op Ed Article": 3095

Let’s Make a QR Code Generator With a Serverless Function!


QR codes are funny, right? We love them, then hate them, then love them again. Anyways, they’ve lately been popping up again and it got me thinking about how they’re made. There are like a gazillion QR code generators out … Let’s Make a QR Code Generator With a Serverless...

Building Interoperable Web Components That Even Work With React


Those of us who’ve been web developers more than a few years have probably written code using more than one JavaScript framework. With all the choices out there — React, Svelte, Vue, Angular, Solid — it’s all but inevitable. One … Building Interoperable Web Components That Even...

Please Give Me Some Space


There’s all kinds of ways to do that. Some more advisable and better-suited for certain situations than others, of course. We could do it directly in HTML: <pWe go from one line...<br<brdown a couple more.</p But that’s … Please Give Me Some Space originally...

How to Create Block Theme Patterns in WordPress 6.0


Block patterns, also frequently referred to as sections, were introduced in WordPress 5.5 to allow users to build and share predefined block layouts in the pattern directory. The directory is the home of a wide range of … How to Create Block Theme Patterns in WordPress 6.0 originally...

SPAs, Shared Element Transitions, and Re-Evaluating Technology


Nolan Lawson sparked some discussion when he described a noticeable shift away from single-page applications (SPAs): Hip new frameworks like Astro, Qwik, and Elder.js are touting their MPA [multi-page application] with “0kB JavaScript by default.” … SPAs, Shared Element Transitions,...

Just How Long Should Alt Text Be?


I teach a class over at the local college here in Long Beach and a majority of the content is hosted on the Canvas LMS so students can access it online. And, naturally, I want the content to be as … Just How Long Should Alt Text Be? originally published on CSS-Tricks. You should get...

Cool CSS Hover Effects That Use Background Clipping, Masks, and 3D


We’ve walked through a series of posts now about interesting approaches to CSS hover effects. We started with a bunch of examples that use CSS background properties, then moved on to the text-shadow property where we technically didn’t use … Cool CSS Hover Effects That Use Background...

A Perfect Table of Contents With HTML + CSS


Earlier this year, I self-published an ebook called Understanding JavaScript Promises (free for download). Even though I didn’t have any intention of turning it into a print book, enough people reached out inquiring about a print version that … A Perfect Table of Contents With HTML...

Mastering SVG’s stroke-miterlimit Attribute


So, SVG has this stroke-miterlimit presentation attribute. You’ve probably seen it when exporting an SVG from a graphic editor program, or perhaps you find out you could remove it without noticing any change to the visual appearance. After a good … Mastering SVG’s stroke-miterlimit...

First Look At The CSS object-view-box Property


Ahmad Shadeed — doing what he always does so well — provides an early look at the object-view-box property, something he describes as a native way to crop an image in the browser with CSS. The use case? Well, … First Look At The CSS object-view-box Property originally published...

Dialog Components: Go Native HTML or Roll Your Own?


As the author of a library called AgnosticUI, I’m always on the lookout for new components. And recently, I decided to dig in and start work on a new dialog (aka modal) component. That’s something many devs like to … Dialog Components: Go Native HTML or Roll Your Own? originally published...

Verevolf


Zeldman: You may not know his name, but he played a huge part in creating the web you take for granted today. And he’s back—kind of. That would be Glenn Davis and the Verevolf site Zeldman’s talking about. The … Verevolf originally published on CSS-Tricks. You should get...

Inline Image Previews with Sharp, BlurHash, and Lambda Functions


Don’t you hate it when you load a website or web app, some content displays and then some images load — causing content to shift around? That’s called content reflow and can lead to an incredibly annoying user experience for … Inline Image Previews with Sharp...

An Interactive Starry Backdrop for Content


I was fortunate last year to get approached by Shawn Wang (swyx) about doing some work for Temporal. The idea was to cast my creative eye over what was on the site and come up with some … An Interactive Starry Backdrop for Content originally published on CSS-Tricks. You should get...

Improving Icons for UI Elements with Typographic Alignment and Scale


Utilizing icons in user interface elements is helpful. In addition to element labeling, icons can help reinforce a user element’s intention to users. But I have to say, I notice a bit of icon misalignment while browsing the web. Even … Improving Icons for UI Elements with Typographic...

Creating Style Variations in WordPress Block Themes


Global styles, a feature of the block themes, is one of my favorite parts of creating block themes. The concept of global style variations in WordPress were introduced in Gutenberg 12.5 which would allow theme authors to create alternate … Creating Style Variations in WordPress Block Themes...

Cool Hover Effects That Use CSS Text Shadow


In my last article we saw how CSS background properties allow us to create cool hover effects. This time, we will focus on the CSS text-shadow property to explore even more interesting hovers. You are probably wondering how adding shadow … Cool Hover Effects That Use CSS Text Shadow...

A CSS Slinky in 3D? Challenge Accepted!


Braydon Coyer recently launched a monthly CSS art challenge. He actually had reached out to me about donating a copy of my book Move Things with CSS to use as a prize for the winner of the challenge — … A CSS Slinky in 3D? Challenge Accepted! originally published on CSS-Tricks. You should...

COLRv1 and CSS font-palette: Web Typography Gets Colorful


According to Toshi Omagari, the author of Arcade Game Typography, the world’s first multi-colored digital font was created in 1982 for a never-released video game called Insector. Multi-colored fonts, sometimes called chromatic type, are still relatively rare on the … COLRv1 and...

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