JAMstack Tools and The Spectrum of Classification
Weekly Platform News: CSS column-span Property, ADA applies to Websites, Auto-generated Image Descriptions
With the wonderful world of JAMstack getting big, all the categories of services and tools that help it along are as important as ever. There are static site generators, headless CMSs, and static file hosts.
I think those classifications are handy, and help conversations along. But there is a point where nuance is necessary and these classification buckets get a little leaky.
Note, these charts are just intended to paint a spectrum, not to be a … Read article
The post JAMstack Tools and The Spectrum of Classification appeared first on CSS-Tricks.
The `hidden` Attribute is Visibly Weak
In this week’s roundup: multi-column layouts gain wide support, the ADA means more A11y for retailers, and Google is doing something about all the empty image
alt attributes in the wild.
The CSS column-span property will soon be widely supported
column-span property, which has been supported in Chrome and Safari since 2010 (and IE since 2012), is finally coming to Firefox in version 71 (in December).
This feature enables elements that span across all columns in a multiple-column … Read article
The post Weekly Platform News: CSS column-span Property, ADA applies to Websites, Auto-generated Image Descriptions appeared first on CSS-Tricks.
Workflow Considerations for Using an Image Management Service
There is an HTML attribute that does exactly what you think it should do:
<div hidden>I'm hidden</div>
It even has great browser support. Is it useful? Uhm. Maybe. Not really.
Adam Laki likes the semantics of it:
If we use the hidden attribute, we make our semantic a little better. Anybody will understand what does a “hidden” attribute means on an element.
Monica Dinculescu calls it a lie:
hidden rule is a User Agent
… Read article
The post The `hidden` Attribute is Visibly Weak appeared first on CSS-Tricks.
There are all these sites out there that want to help you with your images. They do things like optimize your images and help you serve them performantly.
That’s a very good thing. By any metric, images are a major slice of the resources on websites, and we’re notoriously bad at optimizing them and doing all the things we could to lower the performance hit from them. So you use some service to help you deliver images better. Smart. Many of them will make managing and optimizing images a lot easier. But I don’t consider them a no-brainer. There is a lot to think about, like making choices that don’t paint you into a corner.
The post Workflow Considerations for Using an Image Management Service appeared first on CSS-Tricks.
Let’s Make a Fancy, but Uncomplicated Page Loader
At a recent conference talk (sorry, I forget which one), there was a quick example of poor web performance in the form of a third-party widget. The example showed a site that installed the widget in order add a “email us” button fixed to the bottom right of the viewport. Not even a live-chat widget — just an email thing. It weighed in at something like 470KB, which is straight bananas.
Just in case you are someone who feels trapped … Read article
The post Ten-Ton Widgets appeared first on CSS-Tricks.
WordPress Plugin Overload? Give Jetpack a Try!
It’s pretty common to see a loading state on sites these days, particularly as progressive web apps and reactive sites are on the rise. It’s one way to improve “perceived” performance — that is, making it feel as though the site is loading faster than it actually is.
There’s no shortage of ways to make a loader — all it takes is a quick search on CodePen to see oodles of examples, from animated GIFs to complex animations. While it’s … Read article
The post Let’s Make a Fancy, but Uncomplicated Page Loader appeared first on CSS-Tricks.
Weaving One Element Over and Under Another Element
The WordPress ecosystem has a plentiful supply of plugins that offer everything from AMP to Zapier integration and so, so, so many other things in between. It’s a significant contributor to what makes WordPress great because plugins can account for the needs of nearly any website.
How many plugins are installed on your WordPress site? Five? Fifteen? Fifty? We’ve been up to 31 plugins here at CSS-Tricks and we rely on them for everything from content delivery to performance. Why … Read article
The post WordPress Plugin Overload? Give Jetpack a Try! appeared first on CSS-Tricks.
Stop Animations During Window Resizing
In this post, we’re going to use CSS superpowers to create a visual effect where two elements overlap and weave together. The epiphany for this design came during a short burst of spiritual inquisitiveness where I ended up at The Bible Project’s website. They make really cool animations, and I mean, really cool animations.
My attention, however, deviated from spiritualism to web design as I kept spotting these in-and-out border illustrations.
Screenshot form The Bible Project website.
I wondered … Read article
The post Weaving One Element Over and Under Another Element appeared first on CSS-Tricks.
Two Images and an API: Everything We Need for Recoloring Products
Say you have page that has a bunch of transitions and animations on all sorts of elements. Some of them get triggered when the window is resized because they have to do with size of the page or position or padding or something. It doesn’t really matter what it is, the fact that the transition or animation runs may contribute to a feeling of jankiness as you resize the window. If those transitions or animations don’t deliver any benefit in … Read article
The post Stop Animations During Window Resizing appeared first on CSS-Tricks.
I recently found a solution to dynamically update the color of any product image. So with just one
<img> of a product, we can colorize it in different ways to show different color options. We don’t even need any fancy SVG or CSS to get it done!
We’ll be using an image editor (e.g. Photoshop or Sketch) and the image transformation service imgix. (This isn’t a sponsored post and there is no affiliation here — it’s just a technique … Read article
The post Two Images and an API: Everything We Need for Recoloring Products appeared first on CSS-Tricks.