Search
 
SCRIPT & CODE EXAMPLE
 

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;
}
Comment

PREVIOUS NEXT
Code Example
Css :: stop css transition from firing on page load 
Css :: scss responsive container 
Css :: how to make a flex container full page 
Css :: select last tr in table css 
Css :: is there any property that reset all atributes css div 
Css :: linear gradient not covering entire page 
Css :: ion-split-pane width 
Css :: css overflow-y 
Css :: css disabled 
Css :: css select all immediate children 
Css :: object fit css 
Css :: css cut lines 
Css :: css fadeout animation 
Css :: remove or hide powered by text from Google Translate 
Css :: html disabled hover style 
Css :: change background color on hover 
Css :: css text to fit container 
Css :: color td first row css 
Css :: scss maps´ 
Css :: hex codes of bootstrap colours 
Css :: backgroud color css 
Css :: estilos de button css 
Css :: css ordened list style color 
Css :: css linkup 
Css :: png image border css 
Css :: increase space between dashed border css 
Css :: flexbox space between 
Css :: line icon 
Css :: hide scroll bar when not needed 
Css :: animate.css 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =