Yahoo India Web Search

Search results

  1. Aug 13, 2013 · how can i get a css transition example like in here (the dropdown example), so far I've managed to only change the text and background color, but not the whole transition effect thing (where the rectangle rolls when hovered and rolls back smoothly when un-hovered), any idea how can i achieve it? here's my code:

  2. Dec 11, 2010 · As far as I know, transitions currently work in Safari, Chrome, Firefox, Opera and Internet Explorer 10+. This should produce a fade effect for you in these browsers: background-color: #FF0; background-color: #AD310B; -webkit-transition: background-color 1000ms linear;

  3. 2. It's possible to make the multiple transitions set with different values for duration, delay and timing function. To split different transitions use , button{. transition: background 1s ease-in-out 2s, width 2s linear; -webkit-transition: background 1s ease-in-out 2s, width 2s linear; /* Safari */. }

  4. I had the same problem. I tried using animations instead of transitions - as suggested by @MichaelMullany and @Chris - but it only worked for webkit browsers even if I copy-pasted with "-moz" and "-o" prefixes.

  5. Jul 26, 2010 · Position the element outside of the frame of another element that has overflow: hidden. There are likely more solutions, but you cannot perform a transition if you toggle the element to display: none. For example, you may attempt to try something like this: div {. display: none; transition: opacity 1s ease-out;

  6. Feb 28, 2012 · You can transition background-image. Use the CSS below on the img element: -webkit-transition: background-image 0.2s ease-in-out; transition: background-image 0.2s ease-in-out; This is supported natively by Chrome, Opera and Safari. Firefox hasn't implemented it yet (bugzil.la). Not sure about IE.

  7. CSS transitions only animate from one set of styles to another; what you're looking for is CSS animations. You need to define the animation keyframes and apply it to the element: from {. width: 100px; to {. width: 300px; animation-duration: 0.1s; animation-name: changewidth; animation-iteration-count: infinite;

  8. Jun 30, 2010 · There is no delay at the beginning, and the transition doesn't stop early. In both directions (expanding and collapsing), if you specify a transition duration of 300ms in your CSS, then the transition takes 300ms, period.

  9. Apr 1, 2019 · overflow: hidden; transition: grid-template-rows 400ms; grid-template-rows: 0fr; /* 0fr means 0 fraction of available space */. /* When the 'open' class is applied to the wrapper element, set the grid rows to take up all available space (height 1fr). This expands the wrapper and shows the content inside. */.

  10. 4. For anyone looks for a shorthand way, to add transition for all properties except for one specific property with delay, be aware of there're differences among even modern browsers. A simple demo below shows the difference. Check out full code. div:hover {.

  1. People also search for