Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
Advice
0 votes
4 replies
98 views

I have an HTML div that contains a photo, amongst other things. This div is movable by the user with a click and drag. When the div is clicked (:active), after a slight delay, I have it grow slightly ...
Mike McCollister's user avatar
0 votes
0 answers
72 views

I have a div containing an image. The image is user supplied so it can be tall or wide or square. By default I want to keep the image at a fixed 36px height, its width expanding as needed according to ...
marczellm's user avatar
  • 1,346
0 votes
0 answers
70 views

I want an animated Icon (path stroke animation). I used https://svgartista.net/ to get the the following codes. My collegue, who is not available for me anymore, told me to add ... somewhere. But I ...
Hero's user avatar
  • 1
0 votes
2 answers
96 views

My code here scrolls up smoothly but I want each word to pause in the middle for a second before scrolling to the next word while keeping the infinite loop? <div id="scroll-container"> ...
Michelle Joy Reyes's user avatar
4 votes
1 answer
141 views

I've tried researching using a couple of sources, but none of them focused on my problem specifically. I want to use CSS, if possible, to get a border effect that emulates some aspect ratio changes, ...
Aurora Lane's user avatar
1 vote
0 answers
95 views

I have three StackPane elements, each containing its corresponding ImageView for an Icon and an overlay VBox. The intended animation is to make the overlay appear from the top to the bottom of the ...
Starnec's user avatar
  • 801
1 vote
2 answers
98 views

I'm writing a simple webpage to advertise stuff I've done, so basically my GitHub page but with more presentational value, also using it to get more practice with HTML, where as I'm more familiar with ...
James Serrano's user avatar
2 votes
2 answers
114 views

Situation Consider the following ViewTransition between two HTML pages (Multi-page app, MPA). The code for this is simple. <!-- old.html --> <html> <head> <link rel="...
Splines's user avatar
  • 1,157
2 votes
0 answers
160 views

I'm, creating the marquee of banners for my Shopify store, here is the code: <div class="site-header__banners-wrapper"> <div class="site-header__banners"> ...
Viacheslav Ravdin's user avatar
1 vote
1 answer
93 views

I have a problem with the animation-timeline, it doesn't give me the option to animate when I scroll, nor does it give me a valid property in CSS. body { margin: 0; font-family: sans-serif; ...
Figueroa Jose's user avatar
0 votes
1 answer
54 views

I'm working on a simple project where I want to animate a div element. I'm trying to make a white box both move to the right and change color when it's clicked. I'm using a JavaScript click event to ...
jyotish's user avatar
0 votes
1 answer
38 views

<section className="accessories bg-blue-600 p-8"> <div className="container max-w-7xl my-0 mx-auto"> <div className="accesories-wrapper"> &...
Mohamed Riyas's user avatar
1 vote
2 answers
252 views

I am creating a horizontal logo slider with multiple tracks.My goal is: Even-numbered tracks should animate logos to the right. Odd-numbered tracks should animate logos to the left. Whenever I add new ...
Vortex Code Developer's user avatar
1 vote
1 answer
89 views

I have a custom button with a circular mask hover animation using clip-path and CSS custom properties (@property + --tx / --ty). The effect works just fine, but I see thin visible borders/artifacts ...
mmdwc's user avatar
  • 1,157
0 votes
0 answers
84 views

I found chrome will recalculate style for all existing css animations whenever I mutate the DOM even if I have already add will-change: transform to make every animation in its own compositing layer. &...
crazyones110's user avatar
0 votes
1 answer
117 views

WordPress Theme: AIPT Modeltheme I have been through files like animate.css but I can't find a default setting. Chat GPT advised me to look for data-animate= and then edit it, but I can't find that. ...
Michael Lloyd's user avatar
-1 votes
1 answer
83 views

When clicking on a slider switch (made with CSS + an input checkbox under the hood), the animation shows. However, when setting the checked value from JS, the animation is not triggered. How to solve ...
Basj's user avatar
  • 47.5k
0 votes
2 answers
106 views

This always worked but I recently checked a website on iOS Safari and noticed a CSS effect now didn't work, I guess after an update. Confirmed this also didn't work on Safari on my laptop. It does ...
user1406440's user avatar
  • 1,667
0 votes
0 answers
83 views

I'm making simple slider for my website (css animation translate 0 to -10000px). Have HTML like this (those are divs 1-20 and another time 1-20 for loop that): //Before that I was making it by JS (...
Gwynbleid's user avatar
0 votes
0 answers
39 views

Any idea why the fade-out animation in the last MDN example on Using_CSS_animations doesn't work? The fade-in works, when I click on the white space the div with the red border fades in as expected, ...
boggy's user avatar
  • 4,057
0 votes
1 answer
90 views

I'm working on animating dashed lines that extend from a central block to surrounding blocks. The goal is to make the dashed line appear as if it's gradually being filled with color, starting from the ...
Timmi's user avatar
  • 1
0 votes
0 answers
38 views

I am writing a web application in react-with-typescript: I use index.tsx as a layout component, I need to somehow delay the transition between pages so that the animation of filling the screen can ...
Frank McLover's user avatar
3 votes
0 answers
95 views

Full JS from Github Full css from Github Full Html from Github Video frames shake/stutter when rendering HTML5 video to Canvas during CSS animation I'm experiencing video frame shaking/stuttering in a ...
masul_hasan's user avatar
1 vote
0 answers
62 views

I discovered a curious issue when moving an animation with a cubic bezier from CSS into JavaScript: the timing was different. See example below: (tested in both Chrome and Safari) It’s not a loading ...
Adam Hunter Peck's user avatar
0 votes
0 answers
39 views

I would like to cross-fade between several images using CSS only, and then loop through that animation indefinitely. I used the methodology provided by Zack White in this question, which does fade ...
Dan's user avatar
  • 123
1 vote
1 answer
90 views

I'm building my portfolio with CSS and JS. I followed this tutorial on how to create a flipbook with CSS. But for some reason, I cannot get my pages to flip; only my cover does. I am guessing that the ...
Hillary C.'s user avatar
2 votes
4 answers
82 views

I am trying to toggle an animation on an element using the CSS Web Animations API (WAAPI). Specifically, I want the animation to transition smoothly between two states on each button click — ...
Muhammad Abdullah's user avatar
-2 votes
2 answers
443 views

I create expand/collapse panel that work fine. I use angular for click event handle and pure CSS for styling. There is a LIVE DEMO. However this panel doesn't open/close smoothly. Please help my to ...
Sergey's user avatar
  • 1,040
1 vote
2 answers
85 views

This is my minimal reproduction (only works in Chromium browsers due to calc-size): .parent { display: flex; align-items: start; } .item { display: flex; flex-direction: column; background: ...
KTibow's user avatar
  • 880
1 vote
2 answers
86 views

I'm new to programming and am designing a game for a school assignment. I have made a small animation in CSS of a dice being shaken, then displaying the number of eyes of the throw. What I want is to ...
user30513672's user avatar
1 vote
1 answer
55 views

I have styled the carousel indicators to have a progress animation. The transition starts when the list item becomes active, and after 5 seconds it ends, the color disappears, and the next indicator ...
pitzki's user avatar
  • 317
0 votes
1 answer
88 views

I've been trying to make my navbar responsive for mobile and decided it'd be good to make it a lateral bar when the width gets smaller. Also, in order to not having to change the code in every single ...
andrews's user avatar
1 vote
1 answer
65 views

I have the below CSS / SCSS code: I've set the background properties in the figure and only changed the background-size property for the hover... but it just jumps to the new size instantly instead of ...
user303096's user avatar
0 votes
1 answer
176 views

I have the below code of React with tailwind styling which is pretty much working as per my design - import React from 'react'; const SubscriptionCard = () => { const commonHoverEffect = "...
Random dev.'s user avatar
0 votes
2 answers
58 views

:root { --success: #0c0; } button { border: 2px solid; border-radius: 10px; cursor: pointer; margin: 1em 0.5em; padding: 10px 15px; transition: transform 1s; } button:...
Eric Wang's user avatar
0 votes
1 answer
90 views

I'm trying to create a floating leaf animation using CSS and a parallax effect with JavaScript. My goal is to have multiple leaves float in slightly different paths and timings across the screen. But ...
Ellie Dung's user avatar
1 vote
2 answers
49 views

I have been using a preprocessor to generate looped background animation like this: @keyframes anim { from { background-position: 0 0; } to { background-position: ...
Shtole's user avatar
  • 367
0 votes
0 answers
25 views

I want to implement a simple view transition animation where a circular mask slowly reveals the new page. The animation glitches when running it in Google Chrome (Version 134.0.6998.166 arm64). I don’...
Pepa Zdepa's user avatar
0 votes
1 answer
43 views

const box = document.querySelector('.box'); let id = undefined; function animateTest() { const style = window.getComputedStyle(box); const matrix = new DOMMatrixReadOnly(style.transform); const ...
Sidharth Bajpai's user avatar
0 votes
0 answers
25 views

I'm trying to implement the animations of the following video using scroll-driven animations (scroll-driven-animations.style). I have the text part, but I am stuck with the images (the ones with ...
Germán Freixinós's user avatar
1 vote
0 answers
82 views

I am using the example from https://codepen.io/BlackStar1991/pen/xxVOdJb and I'm trying to turn that animation in a square and add some waves moving across it, much like in the gif below here's what ...
man's user avatar
  • 508
0 votes
0 answers
51 views

I'm building a RAG system for a platform where the primary content consists of videos and slides. My approach involves extracting keyframes from videos using OpenCV diff = cv2.absdiff(prev_image, ...
Daniel's user avatar
  • 13
1 vote
1 answer
73 views

I am trying to animate a "left" to "right"-side rotation using transform-origin. More specifically, I would like to maintain the left side's rotation position when the transform-...
FakeEmpire's user avatar
0 votes
1 answer
64 views

I have an SVG map of Africa, and I want to embed a second SVG within it. However, I’m unable to do so due to an overflow issue. I suspect that I might be facing a clipping or masking problem. Since ...
Pavel's user avatar
  • 1
-1 votes
1 answer
56 views

hello all and thanks for being here, lets see if you can clarify what is wrong here: i am trying to add a simple animation of a snowflake falling from top to bottom within a container: here link: ...
JGarnie's user avatar
  • 624
0 votes
1 answer
89 views

I am trying to render an infinite animation of lines going from page bottom to top. Here is the result : https://stackblitz.com/edit/angular-xyke249e?file=src%2FAnimationPage%2Fanimation.component.ts ...
Foxhunt's user avatar
  • 964
1 vote
2 answers
93 views

I have the following css: @keyframes expandTop { from { height: 0; } to { height: 100px; } } &.expand { animation: expandTop 0.5s ease-out ...
Renaud's user avatar
  • 4,699
5 votes
2 answers
181 views

I want a button which pulses multiple times (three or so), like in this Dribble video demo. The button pulses should have an interval between pulses of about 300-400ms, and also if the twisting effect ...
Vasil Nikolov's user avatar
1 vote
0 answers
117 views

I am basically trying to replicate an effect from a website (Awwwards link) where there seems to be a grid of divs that individually "flip" vertically on-hover and all together on-scroll. ...
Lancer26's user avatar
2 votes
1 answer
165 views

(I'm still pretty new to HTML and CSS so bare with me) I've been trying to customize this website to make it more pleasing to the eye. One of the things I'd like to do is customize the drop down menus ...
Sarah Z's user avatar
  • 23

1
2 3 4 5
172