Answers for "css transition"

CSS
6

css transition

<style>
div {
  background-color: blue;
  padding: 40px;
  color: white;
  cursor: pointer;
  -webkit-transition: all 0.5s 0s ease;
  -moz-transition: all 0.5s 0s ease;
  -o-transition: all 0.5s 0s ease;
  transition: all 0.5s 0s ease;
}
/*transition: property duration timing-function delay|initial|inherit;*/

.hidden {
  visibility: visible;
  opacity: 0.1;
  max-width: 12%;
}

.hidden:hover {
  visibility: visible;
  opacity: 1;
	max-width: 100%;
}
</style>

<div class="hidden">HOVER ME!</div>
Posted by: Guest on May-27-2021
0

css transition syntax

transition: all 300ms ease-in-out;
Posted by: Guest on October-02-2021
2

transitions css

div {
  transition: width 2s, height 2s, transform 2s;
}
Posted by: Guest on July-09-2021
-1

opacity transition in css

/*
Opacity transition in CSS

By using this we can add element transition with some delay.
And due to transition delay its look like animation of element.
*/

div {
  transition: opacity 0.5s; /* Transition should take 0.3s */
  -webkit-transition: opacity 0.5s; /* Transition should take 0.3s */
  opacity: 1; /* Set opacity to 1 */
}

/*
I hope it will help you.
Namaste
*/
Posted by: Guest on May-10-2020
7

css transition

/*CSS Transition Syntax*/
selector {
 transition: property duration timing-function delay|initial|inherit; 
}
Posted by: Guest on November-18-2020
7

css transition

transition: property duration timing-function delay|initial|inherit;
Posted by: Guest on November-18-2020

Browse Popular Code Answers by Language