Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 12 lesson 5

delay property?
by

1 Answer

kshitijrana14
Try this one:

<!DOCTYPE html>
<html>
<head>
<title>CSS transition-duration</title>
<style>
div {
width: 100px;
height: 100px;
background: #4535aa;
transition-property: width,height;
transition-duration: 5s;
transition-timing-function: ease-in-out;
transition-delay:0s,2s;
/ Add delay property here/
}

div:hover {
width: 300px;
height:200px;
}
</style>
</head>
<body>
<div></div>
</body>
</html>

Login / Signup to Answer the Question.