Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

backgorund color transitition css

.box {
  width: 150px;
  height: 150px;
  background: red;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  -webkit-transition: background-color 2s ease-out;
  -moz-transition: background-color 2s ease-out;
  -o-transition: background-color 2s ease-out;
  transition: background-color 2s ease-out;
}

.box:hover {
  background-color: green;
  cursor: pointer;
}
 
PREVIOUS NEXT
Tagged: #backgorund #color #transitition #css
ADD COMMENT
Topic
Name
1+3 =