Search
Create a Responsive CSS Motion Path? Sure We Can!
15.4.2020
There was a discussion recently on the Animation at Work Slack: how could you make a CSS motion path responsive? What techniques would be work? This got me thinking.
A CSS motion path allows us to animate elements along custom user-defined paths. Those paths follow the same structure as SVG paths....
Tips for Writing Animation Code Efficiently
10.4.2020
I’ve been coding web animations and helping others do the same for years now. However, I have yet to see a concise list of tips focused on how to efficiently build animations, so here you go!
I will be using the GreenSock Animation Platform (GSAP). It provides a simple, readable API and solves...
How to Re-Create a Nifty Netflix Animation in CSS
7.4.2020
The design for Netflix’s browse page has remained pretty similar for a few years now. One mainstay component is the preview slider that allows users to scroll through content and hover on items to see a preview.
One unique characteristic of the UI is its hover behavior. When a show preview...
Rapid Image Layers Animation
7.4.2020
A rapid animation of multiple layers of images for intros or page transitions.
Rapid Image Layers Animation was written by Mary Lou and published on Codrops
Performant Expandable Animations: Building Keyframes on the Fly
1.4.2020
Animations have come a long way, continuously providing developers with better tools. CSS Animations, in particular, have defined the ground floor to solve the majority of uses cases. However, there are some animations that require a little bit more work.
You probably know that animations should...
CSS-Only Marquee Effect
31.3.2020
A simple CSS-only marquee effect for a menu based on Francesco Zagami's Dribbble shot.
CSS-Only Marquee Effect was written by Mary Lou and published on Codrops
UI Interactions & Animations Roundup #5
27.3.2020
The new collection of recent UI works to keep your creative flow going.
UI Interactions & Animations Roundup #5 was written by Mary Lou and published on Codrops
Playing With Particles Using the Web Animations API
18.3.2020
When it comes to motion and animations, there is probably nothing I love more than particles. This is why every time I explore new technologies I always end up creating demos with as many particles as I can.
In this post, we'll make even more particle magic using the Web Animations API to create...
Ideas for Distorted Link Effects on Menus
18.3.2020
Some examples of how to use decorative distortion effects on big typography menu links.
Ideas for Distorted Link Effects on Menus was written by Mary Lou and published on Codrops
Background Scale Hover Effect with CSS Clip-path
11.3.2020
A simple recreation of the background scale hover effect seen on the DDD Hotel website using CSS clip-path.
Background Scale Hover Effect with CSS Clip-path was written by Mary Lou and published on Codrops
Animating CSS Width and Height Without the Squish Effect
6.3.2020
The first rule of animating on the web: don't animate width and height. It forces the browser to recalculate a bunch of stuff and it's slow (or "expensive" as they say). If you can get away with it, animating any transform property is faster (and "cheaper").
Butttt, transform can be tricky. Check...
Distorted Link Effects with SVG Filters
4.3.2020
A couple of ideas for decorative link distortion effects using SVG filters on lines, circles and squares.
Distorted Link Effects with SVG Filters was written by Mary Lou and published on Codrops
UI Interactions & Animations Roundup #4
2.3.2020
A fresh dose of inspiration to get you updated on the latest UI animation and interaction trends.
UI Interactions & Animations Roundup #4 was written by Mary Lou and published on Codrops
Animated Matryoshka Dolls in CSS
27.2.2020
Here’s a fun one. How might we create a set of those cool Matryoshka dolls where they nest inside one another... but in CSS?
I toyed with this idea in my head for a little while. Then, I saw a tweet from CSS-Tricks and the article image had the dolls. I took that as a sign! It was time to...
Weaving a Line Through Text in CSS
26.2.2020
Earlier this year, I came across this demo by Florin Pop, which makes a line go either over or under the letters of a single line heading. I thought this was a cool idea, but there were a few little things about the implementation I felt I could simplify and improve at the same time.
First off,...
Animating SVG Text on a Path
26.2.2020
A demo that shows how to animate SVG text on a path on scroll using the Intersection Observer API and SVG filters.
Animating SVG Text on a Path was written by Mary Lou and published on Codrops
UI Interactions & Animations Roundup #3
10.2.2020
The latest collection of interesting and modern UI interaction and animation concepts.
UI Interactions & Animations Roundup #3 was written by Mary Lou and published on Codrops
Crafting a Cutout Collage Layout with CSS Grid and Clip-path
5.2.2020
Learn how to code up an interesting design with a cutout image look using CSS Grid and clip-path.
Crafting a Cutout Collage Layout with CSS Grid and Clip-path was written by Briana Camp and published on Codrops
Image Dragging Effects
3.2.2020
A set of playful dragging effects for images using various techniques.
Image Dragging Effects was written by Mary Lou and published on Codrops
Resizing Values in Steps in CSS
30.1.2020
There actually is a steps() function in CSS, but it's only used for animation. You can't, for example, tell an element it's allowed to grow in height but only in steps of 10px. Maybe someday? I dunno. There would have to be some pretty clear use cases that something like background-repeat: space...