Answers for "css grow transition"

CSS
4

how to make a button grow in css

.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.1); }
Posted by: Guest on May-10-2020
2

css transition on hover

/* Simple CSS color transition effect on selector */

div {
	color: white;
  	background-color: black; 
}

div:hover {
	background-color: red;
}


/* Additional transition effects on selector */

div {
	background-color: black;
  	color: white;
  	height: 100px;
  	transition: width 1.5s, height 3s;
  	width: 100px;
  	
}

div:hover {
	background-color: red;
  	height: 300px;	
  	width: 150px;
}
Posted by: Guest on May-13-2020

Browse Popular Code Answers by Language