Return to Snippet

Revision: 63632
at June 17, 2013 10:22 by 1man


Updated Code
a {
	color: red;
	background-color: green;
	-webkit-transition: background-color 0.2s linear;
	-moz-transition: background-color 0.2s linear;
	transition: background-color 0.2s linear;
}
a:hover {
	background-color: blue;
}

Revision: 63631
at May 23, 2013 11:56 by 1man


Initial Code
.button {
    -webkit-transition:background-color 0.2s linear;
    -moz-transition:background-color 0.2s linear;
    transition:background-color 0.2s linear;
}

Initial URL

                                

Initial Description
On hover the button will have a smooth transition to the hover colour, then fade out on  mouse out.

Initial Title
Simple button fade transition

Initial Tags

                                

Initial Language
CSS