Using CSS start transition effect 1 second delay.
<style>
body {
background: #c7254e;
}
.div1 {
width: 100px;
height: 100px;
background: #8000ff;
transition: width 3s;
transition-delay: 1s;
color: white;
}
.div1:hover {
width: 300px;
}
.well{
height: 200px;
}
</style>
Complete Code For Using CSS Transition Delay Property With HTML.
<!DOCTYPE html>
<html>
<head>
<title>How To Use CSS Transition Delay Property With HTML</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"/>
</head>
<style>
body {
background: #c7254e;
}
.div1 {
width: 100px;
height: 100px;
background: #8000ff;
transition: width 3s;
transition-delay: 1s;
color: white;
}
.div1:hover {
width: 300px;
}
.well{
height: 200px;
}
</style>
<body>
<br/><br/>
<div class="container">
<br>
<div class="text-center">
<h1 id="color" style="color: white;">CSS Transition Delay Property With HTML</h1>
</div>
<br>
<div class="col-md-12">
<div class="well">
<div class="col-md-6">
<div class="div1" id="div1">linear</div><br>
</div>
</div>
</div>
</div>
</body>
</html>