The Landscape of Cross-Platform App Development

I don't track this stuff very well, but I get it. If you want a native app for Android and iOS, it sure would be nice to only have to write it once rather | Continue reading


@css-tricks.com | 5 years ago

Weekly Platform News: WebAPK Limited to Chrome, Discernible Focus Rectangles, Modal Window API

In this week's roundup: "Add to home screen" has different meanings in Android, Chrome and Edge add some pop to focus rectangles on form inputs, and how | Continue reading


@css-tricks.com | 5 years ago

Understanding How Reducers are Used in Redux

A reducer is a function that determines changes to an application’s state. It uses the action it receives to determine this change. We have tools, like | Continue reading


@css-tricks.com | 5 years ago

ImageKit.io: Image Optimization That Plugs Into Your Infrastructure

Images are the most efficient means to showcase a product or service on a website. They make up for most of the visual content on our website. But, the | Continue reading


@css-tricks.com | 5 years ago

Why Are Accessible Websites so Hard to Build?

I was chatting with some front-end folks the other day about why so many companies struggle at making accessible websites. Why are accessible websites so | Continue reading


@css-tricks.com | 5 years ago

What I Like About Writing Styles with Svelte

There’s been a lot of well-deserved hype around Svelte recently, with the project accumulating over 24,000 GitHub stars. Arguably the simplest JavaScript | Continue reading


@css-tricks.com | 5 years ago

Digging Into the Preview Loading Animation in WordPress

WordPress shipped the Block Editor (aka Gutenberg) back in version 5.0 and with it came a snazzy new post preview screen that shows the WordPress logo | Continue reading


@css-tricks.com | 5 years ago

Why Parcel Has Become My Go-To Bundler for Development

Today we’re gonna talk about application bundlers — tools that simplify our lives as developers. At their core, bundlers pick your code from multiple | Continue reading


@css-tricks.com | 5 years ago

Options for Hosting Your Own Non-JavaScript-Based Analytics

There are loads of analytics platforms to help you track visitor and usage data on your sites. Perhaps most notably Google Analytics, which is widely used | Continue reading


@css-tricks.com | 5 years ago

JAMstack Tools and The Spectrum of Classification

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 | Continue reading


@css-tricks.com | 5 years ago

Weekly Platform News: CSS column-span Property, ADA applies to Websites, Auto-generated Image Descriptions

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 | Continue reading


@css-tricks.com | 5 years ago

The `hidden` Attribute is Visibly Weak

There is an HTML attribute that does exactly what you think it should do: I'm visible I'm hidden It even has great browser support. Is it useful? Uhm. | Continue reading


@css-tricks.com | 5 years ago

Workflow Considerations for Using an Image Management Service

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 … | Continue reading


@css-tricks.com | 5 years ago

Ten-Ton Widgets

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 | Continue reading


@css-tricks.com | 5 years ago

Let’s Make a Fancy, but Uncomplicated Page Loader

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 | Continue reading


@css-tricks.com | 5 years ago

WordPress Plugin Overload? Give Jetpack a Try!

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 | Continue reading


@css-tricks.com | 5 years ago

Weaving One Element Over and Under Another Element

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 | Continue reading


@css-tricks.com | 5 years ago

Stop Animations During Window Resizing

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 | Continue reading


@css-tricks.com | 5 years ago

Two Images and an API: Everything We Need for Recoloring Products

I recently found a solution to dynamically update the color of any product image. So with just one of a product, we can colorize it in different ways to | Continue reading


@css-tricks.com | 5 years ago

The Teletype Text Element Lives On… at Least on This Site

It was this: I say "was" because it's deprecated. It may still "work" (like everybody's favorite in some browsers), but it could stop working anytime, | Continue reading


@css-tricks.com | 5 years ago

Weekly Platform News: Impact of Third-Party Code, Passive Mixed Content, Countries with the Slowest Connections

In this week's roundup, Lighthouse sheds light on third-party scripts, insecure resources will get blocked on secure sites, and many country connection | Continue reading


@css-tricks.com | 5 years ago

Recipes for Performance Testing Single Page Applications in WebPageTest

WebPageTest is an online tool and an Open Source project to help developers audit the performance of their websites. As a Web Performance Evangelist at | Continue reading


@css-tricks.com | 5 years ago

Images Are Not Static Content

We constantly hear about the importance of keeping websites lean and fast. A fast-loading website makes users more satisfied, and satisfied users spend | Continue reading


@css-tricks.com | 5 years ago

Blocking Third-Party Hands from the Cookie Jar

Third-party cookies are set on your computer from domains other than the one that you're actually on right now. For example, if I log into css-tricks.com, | Continue reading


@css-tricks.com | 5 years ago

Patterns for Practical CSS Custom Properties Use

I've been playing around with CSS Custom Properties to discover their power since browser support is finally at a place where we can use them in our | Continue reading


@css-tricks.com | 5 years ago

Let’s Not Forget About Container Queries

Container queries are always on the top of the list of requested improvements to CSS. The general sentiment is that if we had container queries, we | Continue reading


@css-tricks.com | 5 years ago

A Snippet to See all SVGs in a Sprite

I think of an SVG sprite as this: ... ... ... I was long a fan of that approach for icon systems (-ing them as needed), but I favor including the SVGs | Continue reading


@css-tricks.com | 5 years ago

Clipping, Clipping, and More Clipping!

There are so many things you can do with clipping paths. I've been exploring them for quite some time and have come up with different techniques and use | Continue reading


@css-tricks.com | 5 years ago

Wufoo Cracks the Code for Forms So You Don’t Have To

There was a lot of buzz about forms last week when Jason Grisby pointed to a missing pattern attribute on Chipotle's order form that could have been used | Continue reading


@css-tricks.com | 5 years ago

Some Hands-On with the HTML Dialog Element

This is me looking at the HTML element for the first time. I've been aware of it for a while, but haven't taken it for a spin yet. It has some pretty cool | Continue reading


@css-tricks.com | 5 years ago

Introducing Sass Modules

Sass just launched a major new feature you might recognize from other languages: a module system. This is a big step forward for @import. one of the | Continue reading


@css-tricks.com | 5 years ago

Why Progressive Web Apps Are the Future of Mobile Web

Here’s one of the best essays I’ve ever read about why progressive web apps are important, how they work, and what impact they have on a business: PWAs | Continue reading


@css-tricks.com | 5 years ago

Breakout Buttons

Andy covers a technique where a semantic is used within a card component, but really, the whole card is clickable. The trick is to put a pseudo-element | Continue reading


@css-tricks.com | 5 years ago

Using GitHub Template Repos to Jump-Start Static Site Projects

If you’re getting started with static site generators, did you know you can use GitHub template repositories to quickly start new projects and reduce your | Continue reading


@css-tricks.com | 5 years ago

Smart Ways to Correct Mistakes in Git

The world of software development offers an infinite amount of ways to mess up: deleting the wrong things, coding into dead ends, littering commit | Continue reading


@css-tricks.com | 5 years ago

Weekly Platform News: Tracking via Web Storage, First Input Delay, Navigating by Headings

In this week's roundup, Safari takes on cross-site tracking, the delay between load and user interaction is greater on mobile, and a new survey says | Continue reading


@css-tricks.com | 5 years ago

Adaptive Photo Layout with Flexbox

Let’s take a look at a super lightweight way to create a horizontal masonry effect for a set of arbitrarily-sized photos. Throw any set of photos at it, | Continue reading


@css-tricks.com | 5 years ago

Automated (and Guided!) Accessibility Audits with axe Pro

It's important to know there are tools for automated accessibility testing of websites. They are a vital part in helping make sure your website is usable | Continue reading


@css-tricks.com | 5 years ago

Demonstrating Reusable React Components in a Form

Components are the building blocks of React applications. It’s almost impossible to build a React application and not make use of components. It’s | Continue reading


@css-tricks.com | 5 years ago

Zero hands up.

Asked an entire room full of webdevs yesterday if any of them knew that FF/Chrome/Opera/Brave/etc. for iOS weren't allowed to compete on engine | Continue reading


@css-tricks.com | 5 years ago

The Many Ways to Link Up Shapes and Images with HTML and CSS

Different website designs often call for a shape other than a square or rectangle to respond to a click event. Perhaps your site has some kind of tilted | Continue reading


@css-tricks.com | 5 years ago

Multi-Million Dollar HTML

Two stories: Jason Grigsby finds Chipotle's online ordering form makes use of an input-masking technique that chops up a credit card expiration year | Continue reading


@css-tricks.com | 5 years ago

How I Learned to Stop Worrying and Love Git Hooks

The merits of Git as a version control system are difficult to contest, but while Git will do a superb job in keeping track of the commits you and your | Continue reading


@css-tricks.com | 5 years ago

Preloading Pages Just Before They are Needed

The typical journey for a person browsing a website: view a page, click a link, browser loads new page. That's assuming no funny business like a Single | Continue reading


@css-tricks.com | 5 years ago

A Codebase and a Community

I woke up one morning and realized that I had it all wrong. I discovered that code and design are unable to solve every problem on a design systems team, | Continue reading


@css-tricks.com | 5 years ago

Weekly Platform News: Layout Shifts, Stalled High-Bitrate Videos, Screenshots in Firefox

In this week's roundup: fighting shifty layouts, some videos might be a bit stalled, and a new way to take screenshots in Firefox. Let's get into the | Continue reading


@css-tricks.com | 5 years ago

Paperform

Buy or build is a classic debate in technology. Building things yourself might feel less expensive because there is no line item on your credit card bill, | Continue reading


@css-tricks.com | 5 years ago

A Dark Mode Toggle with React and ThemeProvider

I like when websites have a dark mode option. Dark mode makes web pages easier for me to read and helps my eyes feel more relaxed. Many websites, | Continue reading


@css-tricks.com | 5 years ago