“Przejścia CSS” Kod odpowiedzi

Jak używać przejścia pozostawionego w CSS

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

Przejścia 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

Przejście 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

Przejście transformacji CSS

.selector {
  transition: transform 1s;
}
TC5550

Przejścia CSS

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

Przejście CSS krycia

div {
  transition: opacity seconds;
}
Orion

Odpowiedzi podobne do “Przejścia CSS”

Pytania podobne do “Przejścia CSS”

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu