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,667
questions
0
votes
1
answer
25
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 ...
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. ...
0
votes
0
answers
14
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
65
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
30
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
54
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
79
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 ...