developer
Kod · HTML223 qator
<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>TO'P</title>

<style type="text/css">

.phdr{

border: 1px solid red;

width: 90%;

height: 600px;

background-color: #a2f688;

margin: 5px auto;

position: relative;

}

/*.top{

border: 0px solid red;

background-color: black;

width: 40px;

height: 40px;

border-radius: 100%;

position: absolute;

left: 10px;

bottom: 5px;

}*/

.ustun{

border: 0px solid black;

width: 30px;

height: 400px;

background-color: black;

position: absolute;

right: 0px;

bottom: 0px;

}

.qosqon{

border: 0px solid black;

width: 100px;

height: 100px;

background-color: black;

position: absolute;

right: 30px;

bottom: 300px;

}

.shit{

border: 2px solid red;

width: 100px;

height: 50px;

border-radius: 100%;

position: absolute;

right: 130px;

bottom: 330px; 





}

.top{

border: 0px solid red;

background-color: black;

width: 40px;

height: 40px;

border-radius: 100%;

position: absolute;

left: 10px;

bottom: 150px;

animation-name: top;

animation-duration: 4s;

animation-delay: 3s;

animation-fill-mode: forwards;

animation-iteration-count: infinite;



}



@keyframes top{

0%{left: 10px; bottom: 150px;}

10%{left: 10px; bottom: 3px;}

15%{left: 10px; bottom: 150px;}

20%{left: 10px; bottom: 3px;}

50%{left: 970px; bottom: 550px;}

70%{left: 980px; bottom: 3px;}

80%{left: 980px; bottom: 150px;}

90%{left: 980px; bottom: 3px;}

100%{left: 10px; bottom: 3px;}

}

.tag{

border: 3px dotted black;

width: 40px;

height: 15px;

border-radius: 10px;

position: absolute;

left: 10px;

bottom: 135px;

animation: tag 3s ease-in-out 1 0s;

animation-fill-mode: forwards;





}

@keyframes tag{

from{left: 10px; bottom: 135px;}

to{left: 50px; bottom: 135px;}

}



</style>

</head>

<body>

<div class="phdr">

<div class="top"></div>

<div class="tag"></div>

<div class="ustun"></div>

<div class="qosqon"></div>

<div class="shit"></div>

</div>



</body>

</html>