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

Please solve the the example of level 12 lesson 3

<!DOCTYPE html>
<html>
<head>
<title>CSS transition-duration</title>
<style>
div {
width: 100px;
height: 100px;
background: #4535aa;
transition-property: width height;
transition-duration: 4s;
}

div:hover {
width: 300px;
height:400px;
transition-property:height;
transition-duration:6s;

}
</style>
</head>
<body>
<div></div>
</body>
</html>
when i submit it it give me the eror
by

1 Answer

Prasannafqy24
div {
width: 100px;
height: 100px;
background-color: #4535aa;
transition-property: width height;
transition-duration: 4s;
}

Login / Signup to Answer the Question.