전환 지연 사용 CSS로 전환 효과를 지연시키는 속성입니다. 다음 코드를 실행하여 전환 지연을 1초로 설정할 수 있습니다.
예시
<!DOCTYPE html>
<html>
<head>
<style>
div {
width: 150px;
height: 150px;
background: blue;
transition: width 3s;
transition-delay: 1s;
}
div:hover {
width: 250px;
}
</style>
</head>
<body>
<h1>Heading One</h1>
<p>Hover over the below box to change its width. It begins with a delay of 1 second.</p>
<div></div>
</body>
</html>