Web Development Code
4.63K subscribers
395 photos
55 videos
132 files
202 links
قناة خاصه بتطوير الويب
ونشر مشاريع الويب
وكل مايخص الويب
الادمن : @Noureldin13
#Html
#Css
#Bootstrap
#JavaScript
#ReactJs
#Php
#NodeJs
#Mysql
#MongoDB
Buy ads: https://telega.io/c/codedevelopment

جروب المناقشة :
@codedevchat
Download Telegram
Web Development Code
create a load css animation
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<style type="text/css" media="all">
*{
padding: 0;
margin: 0;
box-sizing: border-box;

}
body{
width: 100%;
height: 600px;

}
.load{
position: relative;
top: 50%;
left:50%;
transform: translate(-50%,-50%);
background: #42445A;

}
.load span{
position: absolute;
padding: 100px;
background: #646572;
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
border:15px solid #000;
}
.load span:before{
content: "";
position: absolute;
padding: 100px;
border-width: 15px;
border-color: transparent;
border-left-color: green ;
border-style: solid;
top: -15px;
right: -15px;
border-radius: 50%;
animation: animate 2.1s infinite linear
}

.load span p {
position: absolute;
display: inline-block;
background: ;
padding:100px;
border:15px solid transparent;
top:-15px;
right:-15px;
border-radius:50%;
animation:animate 2.1s infinite linear;

}
p:after{
content: "";
position: absolute;
padding: 20px ;
background: green;
border-radius: 50%;
top: -10px;
left: 13px;


}

@keyframes animate{
0%{
transform: rotate(0deg)
}
100%{
transform: rotate(360deg)
}
}


</style>
</head>

<body>
<div class="load">
<span><p></p></span>
</div>
</body>

</html>
👍1