Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [css-animations]

CSS animations make it possible to animate transitions from one CSS style configuration to another. CSS module describes a way for authors to animate the values of CSS properties over time, using keyframes. The behavior of these keyframe animations can be controlled by specifying their duration, number of repeats, and repeating behavior.

0 votes
0 answers
7 views

Text Blurring Issue with react-tooltip and react-modal when using opacity/transform animations in Chrome

I am working on a project using two libraries: react-modal and react-tooltip. Goal: I want to create a reusable React component that provides a simple modal window, which renders its children. Problem:...
Mo Beigi's user avatar
  • 1,741
0 votes
0 answers
15 views

Pull effect when at end of overscroll element

How to achieve in CSS that pull effect when reaching the end of the content of a scrollable container? I was browsing my website on mobile, and I am frustrated when at the end of the horizontal scroll ...
Eryk Wróbel's user avatar
0 votes
0 answers
16 views

Problems with the animation of my drag & drop interface

The drag and drop animation was expected to happen when trying to move a card from one container to another. I'm using dnd-kit to build a kanban board, but I'm having problems with the card animation ...
Everton Marinho's user avatar
0 votes
1 answer
51 views

Animate Count of Number when element in Viewport in pure CSS

My goal is to start a number counter from 0 to 100 as soon as the number enters the viewport. With my current solution, I have two issues: The number jumps back to 0 once it finished counting to 100 ...
smaica's user avatar
  • 793
-1 votes
0 answers
25 views

How can I get the animation css for the nextui switch component

I want to customize my shadcn switch component with nextui switch component's animation. How can I get the css for that animation? I looked up the code in Github for the switch component, but it was ...
Ashgreninja55's user avatar
-2 votes
0 answers
30 views

CSS Text Stretch and Font Weight Animation on Hover

I want to create the same animation for the left text on my website as seen on this website using React and CSS. So far, I've tried the following code, but it doesn't achieve the same effect: const ...
Dragesia's user avatar
0 votes
1 answer
33 views

Added content to fixed height make it not viewable, and using null height break animation

I have a button that should hidden area with nice animation. It's using height attribute to make the animation. The issue is, when I add content to the "hiddenable" area, the content isn't ...
Elikill58's user avatar
  • 4,487
0 votes
1 answer
30 views

Sequentially cycle through unknown number of words using CSS animation

I'm looking to make a word rotator, whereby an unknown number of words slide in for 1 second, pause for 3 seconds, then slide out for 1 second, one after another, then repeat, using CSS if possible. ...
Dan's user avatar
  • 5,924
0 votes
0 answers
16 views

Fusion animation with Javascript driven by scroll (GSAP)

i have this animation where the plasmid (circle thing) moves towards a row of objects (blue lipids) and i want the lipids to form a circle around the plasmid while it is passing through the row. I ...
user26412111's user avatar
0 votes
1 answer
54 views

Text fill effect but controlled by percentage

I'm attempting to create a text fill effect that will be controlled by a useState. I have the following text: According to a state I want it to be filled from left to right, although the last letter ...
Nilton Schumacher F's user avatar
1 vote
4 answers
67 views

Animate on removal from dom

What is the correct way to do animations when removing something from the DOM? It seems like no matter what I do, when I remove something form the dom, it doesn't trigger a re render until the items ...
Christopher Mellor's user avatar
2 votes
1 answer
39 views

Is it possible to define @keyfames percentage based on css variable?

I've got an animation that depends on the number of characters It works fine with 20 characters: const text = '20 characters length' const speed = 0.1 const $container = document.querySelector('....
Konrad's user avatar
  • 24.3k
0 votes
0 answers
9 views

Component not intersecting on viewports <= 460px in width

I am using IntersectionObserver to produce animations on my website and it behaves as expected on browser widths > 460px. However, when the browser width is <= 460px, the About component is not ...
griddy's user avatar
  • 1
0 votes
0 answers
31 views

CSS Scroll-driven animations: image not animating when using View Progress Timeline

I've been experimenting with CSS Scroll-driven Animations , I wanted to recreate this animation --> Parallax carousel demo. I tried to do so in this codepen: Codepen view progress timeline. As you ...
Jesper Ingels's user avatar
1 vote
1 answer
79 views

Add a progress animation to a circle

I'm doing a Pomodoro Timer using HTML+CSS+JavaScript. I want to have a progress animation around the circle that starts at the top of the circle and rotates clockwise until completing the full circle. ...
João Sacramento's user avatar

15 30 50 per page
1
2 3 4 5
512