DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Programmatic Brand Extraction: Pulling Logos, Colors, and Assets from Any URL
  • The Death of the CSS Selector: Architecting Resilient, AI-Powered Web Scrapers
  • A Guide to Parallax and Scroll-Based Animations
  • Building a Card Layout Using CSS Subgrid

Trending

  • Conversational Risk Accumulation: Stateful Guardrails Beyond Single-Turn LLM Checks
  • Grok AI API Tutorial: Chat, Image, Video, Tool Calling, and Web Search
  • Optimizing Arm-Based Build Servers With AmpereOne CPUs
  • I Reverse-Engineered 50 API Breaches. The Same Five Mistakes Keep Appearing.
  1. DZone
  2. Coding
  3. Languages
  4. CSS Animation: translate3d, backdrop-filter, and Custom Tags

CSS Animation: translate3d, backdrop-filter, and Custom Tags

Learn how to create a smooth animation using the CSS transform translate3d prop, as well as why we use cubic-bezier transition timing function and its benefits.

By 
Asrit Malsija user avatar
Asrit Malsija
·
Feb. 18, 21 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
5.0K Views

Join the DZone community and get the full member experience.

Join For Free

Hello everyone.

In this tutorial, we are going to learn:

  • how to create a smooth animation using the CSS transform translate3d prop.
  • why we'd want to use the cubic-bezier transition timing function and this function's benefits. 
  • how and why we use custom tags. 
  • if you watch the video to the end, I also provide a bonus tip on using backdrop-filter to style some frost/blur style on background. 

Topics: 

  1. Why and how to use translate3d. 
  2. Why and how to use cubic-bezier. 
  3. Using custom tags. 
  4. Apply color by using currentColor.
  5. Using backdrop-filter. 

Don't forget to subscribe!

Source: https://github.com/astrit/youtube 

Demos: 

  • Blackhole: https://cdpn.io/KKMjZEz 

Links: 

  • https://github.com/astrit 
  • https://twitter.com/astritmalsija 
  • https://codepen.io/astrit


CSS

Published at DZone with permission of Asrit Malsija. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Programmatic Brand Extraction: Pulling Logos, Colors, and Assets from Any URL
  • The Death of the CSS Selector: Architecting Resilient, AI-Powered Web Scrapers
  • A Guide to Parallax and Scroll-Based Animations
  • Building a Card Layout Using CSS Subgrid

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook