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

Questions tagged [css-transitions]

CSS Transitions allows property changes in CSS values to occur smoothly over a specified duration.

0 votes
2 answers
78 views

Is it possible to use <hue-interpolation-method> with animations or transitions?

Is it possible to specify a <hue-interpolation-method> for anything other than gradients; specifically: transitions or animations? .box { width: 300px; height: 50px; } .box.gradient { ...
JS_Riddler's user avatar
  • 1,560
0 votes
1 answer
29 views

How to add transition using a JS file

I am working on a grid layout project. In this project when you mouseover an element, the element row increases hence the size increase. The problem is while doing so the change is very fast and I ...
Aditya Sultania's user avatar
0 votes
0 answers
56 views

Text shaking/blurring during css transition

I have been creating a hover transition for my card in css but the text inside the card in question shakes and blurs throughout the transition. Also if you look closely you can see that the edges of ...
Enorrav's user avatar
0 votes
1 answer
99 views

Transition between Vuejs views takes too long in one direction

I'm experimenting with VueJS. I made a very lightweight "app" that only has two views in it: "Home" and "MineSweeper". In the App.vue I created a navigation bar that has ...
Alchemist4444's user avatar
1 vote
1 answer
82 views

How can I fade a gradient background in and out from my div?

I have a div <div class="base-action-card"></div> that has a gradient outline. When in :hover state, the div gets a gradient background. transition does not seem to work. I ...
Brian Scramlin's user avatar
0 votes
1 answer
193 views

position transition does not take effect in tailwind

I have this simple react component: function DivModal() { const [isOpen, setIsOpen] = useState(true) return ( <div> <button onClick={() => setIsOpen(prev => !prev)} ...
milanHrabos's user avatar
  • 2,045
0 votes
1 answer
58 views

preventing CSS transition to font-size 0 from Jumping

I want to have a division disappear by shrinking smoothly. I tried doing this by making the font-size change to 0 with transition set to 1s. When I do this the font gets some some minimum size, then ...
jeffpkamp's user avatar
  • 2,834
0 votes
2 answers
42 views

Can I simplify a CSS keyframes/animation using transition?

Here's my CSS that highlights :target pseudo-elements with a green background, then fades out the background over four seconds: @keyframes highlight { 0% { background: green } 100% ...
Daniele Procida's user avatar
0 votes
0 answers
100 views

Recharts - Enable CSS transition for sectors on hover in PieChart with `isAnimationActive` as `true`

I'm trying to get some basic CSS transition for PieChart sectors on hover. It works as expected if the prop isAnimationActive is false, but I cannot get it to work combining both. Inspecting the ...
Beltran's user avatar
  • 21
-2 votes
2 answers
61 views

when hover an element but does not affect other element transition property [duplicate]

I am trying to reveal my p text it doesn't using transition. I'm trying to resolve it from hour but does not understand why it's not working. .section-about--card { width:100%; height: 15rem; ...
yashlodhi's user avatar
  • 137
0 votes
0 answers
39 views

How to create cut border gradient for button using CSS3 [duplicate]

I have to achieve the below look and feel using CSS gradient for button or any other suggestion also welcome enter image description here enter image description here <button class="button-...
user2357103's user avatar
0 votes
0 answers
40 views

How to make image zoom in transition when hover on javascript / css

i'm trying to achieve this effect where when users hover over a div, an image will appear, and users can click on the div to be redirected to a link. I'm able to make the image appear now and follow ...
radjsh's user avatar
  • 11
0 votes
0 answers
43 views

How to animate the height of a div based on content within it?

I am trying to create a navigation when the user hovers over the navigation links the corresponding panel will open and show its content. When the user hovers the next navigation link, the panel will ...
Jake's user avatar
  • 313
0 votes
0 answers
84 views

Transition not smooth in bootstrap card

I've been creating a website with some cards containing a full background image using bootstrap and scss. However the hover transition I made isn't smooth on the edges. I have tried removing the ...
Enorrav's user avatar
0 votes
0 answers
46 views

Vertical animated text rotation for more than 4 lines

I need to create vertical animated text rotation. I found this Vertical animated text rotation But there are only four lines of text and I need 5 sentences. Any idea how to make same effect with more ...
Digambar Patil's user avatar

15 30 50 per page
1
3 4
5
6 7
421