Answers for "css transitions tutorial"

CSS
3

transition transform

/* Transition Transform */
.section:hover {
  transform: translateX(0px) translateY(75px);
}

.section {
  transition: transform 500ms ease-in-out 25ms;
}
Posted by: Guest on October-11-2020
9

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
2

transitions css

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

css opacity transition

div {
  transition: opacity seconds;
}
Posted by: Guest on March-21-2020

Browse Popular Code Answers by Language