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.
css-animations
7,669
questions
0
votes
0
answers
12
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 ...
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 ...
-1
votes
0
answers
19
views
make a delay for the before element to rotate after the main div [closed]
i wan't to do the second exercice of css with pure css and just one div
is that possible ?
the exercice is in this page https://elzero.org/css-assignments-lesson-from-74-to-77/
i tried to do animation-...
1
vote
4
answers
63
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 ...
2
votes
1
answer
37
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('....
0
votes
0
answers
8
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 ...
0
votes
0
answers
28
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 ...
1
vote
1
answer
78
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.
...
0
votes
1
answer
39
views
Javascript animation queue
export class AnimateElement {
constructor(el) {
this.el = el;
this.animationQueue = [];
this.handleAnimationEnd = this.handleAnimationEnd.bind(this);
...
0
votes
1
answer
45
views
how can i rotate the base of a image but not the image itself
so what i want to do is some title that rotates around but the image shouldnt be rotating, only thing that must rotate is the base of it to give a example maybe i can say hotline miami 1's main menu. ...
-1
votes
2
answers
53
views
preserve size of an HTML element at 0% of an animation [RESOLVED]
I'm trying to make an animation in css and for the first frame, so at 0%, I need the size of the element before his data-space attribute change before collapsing something like that.
Something like ...
0
votes
0
answers
20
views
onCancel function has no animation in Ant Design
I use Modal Component from Ant Design and I notice that once Modal is opened up there's normally an animation showing. However, when I cancel or close the modal, there's just flicker and no animation ...
1
vote
0
answers
78
views
How to fix this meter display animation from bottom to up using HTML and CSS?
I am working on a Blazor Hybrid Project (Web App) that have a meter display component. This meter display component will display string of numbers that resembles a real meter display. When a new ...
0
votes
0
answers
25
views
CSS Animation From Tutorial Video Not Working?
I'm doing a fun project on how to animate text using CSS. I followed this tutorial to the T (https://youtu.be/d9zhyAsnWYw?si=oNDkiPuHMcGxV7lS | except for the background image, I'm using Tekken 8. ...
0
votes
1
answer
48
views
activating a keyframe animation based on a click event that adds & removes a css class
I'm trying to use keyframe animations to move a block up and down based on adding or removing a class using jquery click. However, this seems to "jiggle" the orange div on first click, and ...