Reversing an Easing Curve

Let’s take a look at a carousel I worked on where items slide in and out of view with CSS animations. To get each item to slide in and out of view nicely I used a cubic-bezier for the animation-timing-function property, instead of using a standard easing keyword.

See the Pen Carousel with reversed easing curve by Michelle Barker (@michellebarker) on CodePen.

A cubic-bezier can appear confusing at first glance, but when used correctly, it can add …

The post Reversing an Easing Curve appeared first on CSS-Tricks.

Read more

Logo Design Trends of 2019

Need a new logo? Whether you’re starting from scratch or just planning a tweak to a current mark, understanding shifts in logo design trends can help you create a design with a modern touch. The big 2019 theme in logo design is to create something that’s just a little bit different. With so many new […]
Read more

Annotated Build Processes

When you’re putting together a build process for a site, it’s so dang useful to look at other people’s processes. I ran across Andrew Welch’s “An Annotated webpack 4 Config for Frontend Web Development” the other day and was glad he blogged it. If I was kicking off a new site where I wanted a webpack build, then I’d almost certainly reference something like this rather than start from scratch. At the same time, it made me realize how build …

The post Annotated Build Processes appeared first on CSS-Tricks.

Read more

Making SVG icon libraries for React apps

Nicolas Gallagher:

At Twitter I used the approach described here to publish the company’s SVG icon library in several different formats: optimized SVGs, plain JavaScript modules, React DOM components, and React Native components.

There is no One True Way© to make an SVG icon system. The only thing that SVG icon systems have in common is that, somehow, some way, SVG is used to show that icon. I gotta find some time to write up a post that goes …

The post Making SVG icon libraries for React apps appeared first on CSS-Tricks.

Read more

Two Ways to Build a Site That Seem Super Different But Weirdly Aren’t That Different

Here are two ways to build a site (abstractly) that feel diametrically opposed to me:

  1. Build a site as an SPA (Single Page App). The page loads a skeleton HTML page that executes JavaScript as quickly as it can. The JavaScript calls an API to get data, and then the page renders content. Navigation of the site is more API calls to get the data it needs and re-rendering.
  2. Build a site as statically-generated. A build process runs in which

The post Two Ways to Build a Site That Seem Super Different But Weirdly Aren’t That Different appeared first on CSS-Tricks.

Read more

The 10 Best Photoshop Alternatives for Mac (2019)

You don’t have to use Adobe Photoshop on your Mac to edit images like a pro. There are plenty of Photoshop alternatives for Mac that you can download or use in-browser to create just the right images and graphics for your projects. And some of them are completely free! None of these are necessarily one-size-fits-all […]
Read more

50+ Best Slab Serif Fonts of 2019

Slab serif fonts can be used for a variety of purposes, ranging from general body text to headlines, to display copy. It’s a typography variant that has been used widely for digital as well as print purposes, and devices such as Amazon Kindle even use a slab serif as their default font. In order to […]
Read more