Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css transition

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

div:hover {
  width: 300px;
}
/* width slowly increase to 300px when you hover on div */
Source by mwichary.medium.com #
 
PREVIOUS NEXT
Tagged: #css #transition
ADD COMMENT
Topic
Name
7+1 =