CSS Transitions
Full Stack Web Development Courses with Real-time projects Start Now!!
Program 1
<html>
<head>
<style>
div{
width:100px;
height:100px;
background-color:red;
transition:width 2s,height 4s;
transition-delay:2s;
}
div:hover{
width:300px;
height:300px;
}
</style>
</head>
<body>
<div>
Some text
</div>
</body>
</html>
Your opinion matters
Please write your valuable feedback about DataFlair on Google

