Search
UI Interactions & Animations Roundup #6
14.5.2020
A hand-picked collection of superb UI inspiration from the past weeks.
UI Interactions & Animations Roundup #6 was written by Mary Lou and published on Codrops
Pseudo-elements in the Web Animations API
14.5.2020
To use the Web Animations API (e.g. el.animate()) you need a reference to a DOM element to target. So, how do you use it on pseudo-elements, which don’t really offer a direct reference? Dan Wilson covers a (newish?) part of the API itself:
const logo...
CSS Animation Timelines: Building a Rube Goldberg Machine
12.5.2020
If you’re going to build a multi-step CSS animation or transition, you have a particular conundrum. The second step needs a delay that is equal to the duration of the first step. And the third step is equal to the duration of the first two steps, plus any delay in between. It gets more...
Modern CSS Solutions for Old CSS Problems
11.5.2020
This is a hell of a series by Stephanie Eckles. It’s a real pleasure watching CSS evolve and solve problems in clear and elegant ways.
Just today I ran across this little jab at CSS in a StackOverflow answer from 2013.
This particular jab was about CSS lacking a way to pause between...
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...
CSS-Only Marquee Effect
5.4.2020
You make sure the text is more than twice the width of the screen, then use negative translate animations to do the marquee movement.
You’ll probably want to aria-hidden all but one of them if you need to duplicate the text. Or, you could use a very clever CSS trick...
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...
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
Animated Custom Cursor Effects
24.3.2020
Some ideas for interactive custom cursor animations using SVG filters.
Animated Custom Cursor Effects 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...
4 Ways to Animate the Color of a Text Link on Hover
3.3.2020
Let’s create a pure CSS effect that changes the color of a text link on hover… but slide that new color in instead of simply swapping colors.
There are four different techniques we can use to do this. Let’s look at those while being mindful of important things, like accessibility, performance,...
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
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
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...
Use and Reuse Everything in SVG… Even Animations!
28.1.2020
If you are familiar with SVG and CSS animations and started to work with them often, here are some ideas you might want to keep in mind before jumping into the job. This article will be about learning how to build and optimize your code with <use> element, CSS Variables and...
UI Interactions & Animations Roundup #2
25.1.2020
Some selected shots of great UI interactions and animation for your inspiration.
UI Interactions & Animations Roundup #2 was written by Mary Lou and published on Codrops
UI Interactions & Animations Roundup #1
4.1.2020
The first roundup that collects inspirational UI interactions and animations.
UI Interactions & Animations Roundup #1 was written by Mary Lou and published on Codrops
15 Examples of SVG Animations for Web Designers
26.12.2019
SVG (Scalable Vector Graphics) has a number of advantages compared to other image formats used on the web. First and foremost, SVGs are scalable therefore can adapt to any...
The post 15 Examples of SVG Animations for Web Designers appeared first on Onextrapixel
Playing Sounds with CSS
25.11.2019
CSS is the domain of styling, layout, and presentation. It is full of colors, sizes, and animations. But did you know that it could also control when a sound plays on a web page?
This article is about a little trick to pull that off. It’s actually a strict implementation of the HTML and CSS,...
Let’s Make a Fancy, but Uncomplicated Page Loader
15.10.2019
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...