Search

Nalezeno "css-tricks": 2941

(Jay Freestone’s) Front-End Predictions for 2022


I linked to Jay’s front-end predictions last year and I think they panned out pretty well. I think he’s got a bit of a knack for that wide-scope look at front-end, including tooling and architecture, as well as browser tech. … (Jay Freestone’s) Front-End Predictions for 2022...

Subsetting Font Awesome to Improve Performance


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...

Top Things You Didn’t Know You Could Do With Netlify CLI


(This is a sponsored post.) First things first, if you didn’t know Netlify had a CLI, they do.  One of my favorite things about it running the command netlify dev on nearly any static-site generator project is seeing it … Top Things You Didn’t Know You Could Do With Netlify...

Add-to-Calendar Button UI Widget


A useful little UI widget thingy here from Jens Kuerschner. Click the add-to-calendar button, get a list of calendar apps, the user selects which one they actually use, and they get what they need for that calendar. Could be a … Add-to-Calendar Button UI Widget originally published...

An Auto-Filling CSS Grid With Max Columns of a Minimum Size


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...

GSAP Flip Plugin for Animation


Greensock made the GSAP Flip plugin free in the 3.9 release. FLIP is an animation concept that helps make super performance state-change animations. Ryan Mulligan has a good blog post: FLIP, coined by Paul Lewis, is an … GSAP Flip Plugin for Animation originally published...

6 Creative Ideas for CSS Link Hover Effects


Creating CSS link hover effects can add a bit of flair to an otherwise bland webpage. If you’ve ever found yourself stumped trying to make a slick hover effect, then I have six CSS effects for you to take and … 6 Creative Ideas for CSS Link Hover Effects originally published on CSS-Tricks....

WordPress.com Has a New Home on YouTube


(This is a sponsored post.) ✋ High fives to WordPress for releasing version 5.9 on January 29! This was the long-awaited introduction of the Site Editor and the reverberations are still being felt across the 43% slice of the … WordPress.com Has a New Home on YouTube originally...

Why are hyperlinks blue?


Last year, Elise Blanchard did some great historical research and discovered that blue hyperlinks replaced black hyperlinks in 1993. They’ve been blue for so long now that the general advice I always hear is to keep them that way. There … Why are hyperlinks blue? originally published...

Getting Started With the File System Access API


The File System Access API is a web API that allows read and write access to a user’s local files. It unlocks new capabilities to build powerful web applications, such as text editors or IDEs, image editing tools, improved … Getting Started With the File System Access API originally...

Your CSS reset needs text-size-adjust (probably)


Kilian Valkhof: […] Mobile Safari increases the default font-size when you switch a website from portrait to landscape. On phones that is, it doesn’t do it on iPad. Safari has been doing this for a long time, as a … Your CSS reset needs text-size-adjust (probably) originally...

9 New React and JavaScript Links for February 2022


Every now and then, I find that I’ve accumulated a bunch of links about various things I find interesting. Like React and JavaScript! Here’s a list of nine links to other articles about them that I’ve been saving up and … 9 New React and JavaScript Links for February 2022 originally...

Multi-Value CSS Properties With Optional Custom Property Values


Imagine you have an element with a multi-value CSS property, such as transform: optional custom property values: .el { transform: translate(100px) scale(1.5) skew(5deg); } Now imagine you don’t always want all the transform values to be applied, so some … Multi-Value CSS Properties With...

A Whistle-Stop Tour of 4 New CSS Color Features


I was just writing in my “What’s new in since CSS3?” article about recent and possible future changes to CSS colors. It’s weirdly a lot. There are just as many or more new and upcoming ways to define colors than … A Whistle-Stop Tour of 4 New CSS Color Features...

Developers Speculating About the Long-Distant Future: 2022


This is a wonderful roundup from Jeremy, who I picture circling January 1, 2022, in red marker on a giant paper calendar back in 2008 and patiently counting the days. See, there was a little smattering of internet drama … Developers Speculating About the Long-Distant Future: 2022 originally...

Helpful Tips for Starting a Next.js Chrome Extension


I recently rewrote one of my projects — Minimal Theme for Twitter — as a Next.js Chrome extension because I wanted to use React for the pop-up. Using React would allow me to clearly separate my extension’s pop-up component and … Helpful Tips for Starting a Next.js Chrome Extension originally...

SVGcode for “Live Tracing” Raster Images


Say you have a bitmap graphic — like a JPG, PNG, or GIF — and you wish it was vector, like SVG. What do you do? You could trace it yourself in some kind of design software. Or tools within … SVGcode for “Live Tracing” Raster Images originally published on CSS-Tricks. You should...

How to Make CSS Slanted Containers


I was updating my portfolio and wanted to use the forward slash (/) as a visual element for the site’s main layout. I hadn’t attempted to create a slanted container in CSS before, but it seemed like it … How to Make CSS Slanted Containers originally published on CSS-Tricks. You should...

No Motion Isn’t Always prefers-reduced-motion


There is a code snippet that I see all the time when the media query prefers-reduced-motion is talked about. Here it is: @media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms...

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