“Transitions CSS” Réponses codées

Comment utiliser la transition laissée dans CSS

nav:hover {
  left: 0;
  transition: 2s;
}
Anthony Smith

transitions CSS

<input class = "spin" type="image" src="(IMAGE URL)" width="42" height="42" alt="a" title"Transform 360 deg. image!">

<style>
.spin:hover {
height: 60px;
width: 60px;
transition: .5s;
transform: rotate(360deg);
}
</style>

<!-- You can remove the height and width elements in the CSS style tag if you wish. -->
ayaan

transition CSS

#content #nav a:hover {
    color: black;
    background-color: #AD310B;
    /* Firefox */
    -moz-transition: all 1s ease-in;
    /* WebKit */
    -webkit-transition: all 1s ease-in;
    /* Opera */
    -o-transition: all 1s ease-in;
    /* Standard */
    transition: all 1s ease-in;
}
Joyous Jackal

CSS Transforme la transition

.selector {
  transition: transform 1s;
}
TC5550

Transitions CSS

div {
  width: 100px;
  height: 100px;
  background: red;
  transition: width 2s;
}
naly moslih

transition d'opacité CSS

div {
  transition: opacity seconds;
}
Orion

Réponses similaires à “Transitions CSS”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code