Friday, December 10, 2021

The transistion-delay Property

 The transistion-delay Property

<!DOCTYPE html>

<html>


<head>

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="STYLESHEET" type="text/css" href="web.css">

    <title>web design</title>

</head>


<body>

<h1>The transition Property</h1>

<p>Hover over the div element below, to see the transition effect:</p>

<div></div>

    <b> Note:</b> The transition effect has a 1 second delay before starting.</p>

</body>


</html>

CSS transistion-delay Style

 div{

    width: 100px;

    height:100px;

    background-color: red;

    transition:width 3s ;

    transition-delay:1s;

}

div:hover{

  width:300px ;

}

No comments:

Post a Comment

JavaScript Animated

  JavaScript Animated <!DOCTYPE html> <html> <style> #myContainer {   width: 400px;   height: 400px;   position: relative;...