Como usar a transição deixada no CSS
nav:hover {
left: 0;
transition: 2s;
}
Anthony Smith
nav:hover {
left: 0;
transition: 2s;
}
<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. -->
#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;
}
.selector {
transition: transform 1s;
}
div {
width: 100px;
height: 100px;
background: red;
transition: width 2s;
}
div {
transition: opacity seconds;
}