Search
JavaScript in SVGs
30.6.2020
SVGs are such an amazing tool for creating custom fonts, animations, size-reduced graphics, and more. They’re part HTML, part image, and all awesome. Many websites have moved toward SVG instead of JPG, GIF, and PNG due to the flexibility that SVG provides. Whats one example of that...
UI Interactions & Animations Roundup #8
29.6.2020
A new collection of UI animation shots that summarizes the latest creative trends.
The post UI Interactions & Animations Roundup #8 appeared first on Codrops
An Overview of Scroll Technologies
22.6.2020
Scroll-related animations have been used on the web for years. In recent years, they’ve started to become more common, perhaps in part due to devices being higher-performing and thus able to handle more animation. 
There are a number of scroll related technologies out there, so this article’s...
Easing Animations in Canvas
19.6.2020
The <canvas> element in HTML and Canvas API in JavaScript combine to form one of the main raster graphics and animation possibilities on the web. A common canvas use-case is programmatically generating images for websites, particularly games. That’s exactly what I’ve done in a website...
Making Stagger Reveal Animations for Text
17.6.2020
A short tutorial on how to recreate a letter stagger animation with GSAP and Splitting.js.
The post Making Stagger Reveal Animations for Text appeared first on Codrops
Making Stagger Reveal Animations for Text
17.6.2020
A short tutorial on how to recreate a letter stagger animation with GSAP and Splitting.js.
The post Making Stagger Reveal Animations for Text appeared first on Codrops
Everything You Need to Know About FLIP Animations in React
16.6.2020
With a very recent Safari update, Web Animations API (WAAPI) is now supported without a flag in all modern browsers (except IE).  Here’s a handy Pen where you can check which features your browser supports. The WAAPI is a nice way to do animation (that needs to be done in JavaScript) because...
A New Way to Delay Keyframes Animations
2.6.2020
If you’ve ever wanted to add a pause between each iteration of your CSS @keyframes animation, you’ve probably been frustrated to find there’s no built-in way to do it in CSS. Sure, we can delay the start of a set of @keyframes with animation-delay, but there’s no way to add time between...
UI Interactions & Animations Roundup #7
1.6.2020
Some modern UI animation shots to keep you up-to-date with the freshest trends.
The post UI Interactions & Animations Roundup #7 appeared first on Codrops
7 Examples of Scroll-Triggered Animations in Web Design
23.5.2020
These days it is quite difficult to imagine a modern website without any dynamic elements. Small, big, medium-sized they — will be there on many websites. Web user interfaces...
The post 7 Examples of Scroll-Triggered Animations in Web Design appeared first on Onextrapixel
Let’s Make One of Those Fancy Scrolling Animations Used on Apple Product Pages
22.5.2020
Apple is well-known for the sleek animations on their product pages. For example, as you scroll down the page products may slide into view, MacBooks fold open and iPhones spin, all while showing off the hardware, demonstrating the software and telling interactive stories of how the products...
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