- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Glowing Ring Loader using HTML & CSS
Create a stylish neon loading animation for your website.
เคจเคฎเคธ्เคคे เคฆोเคธ्เคคों! (Hindi)
เคเค เคे เคเคธ เค्เคฏूเคोเคฐिเคฏเคฒ เคฎें เคนเคฎ เคธीเคेंเคे เคि เคैเคธे เคเคช เคेเคตเคฒ HTML เคเคฐ CSS เคा เคเคชเคฏोเค เคเคฐเคे เคเค เคธुंเคฆเคฐ เคเคฐ เคเคงुเคจिเค Glowing Ring Loader เคฌเคจा เคธเคเคคे เคนैं। เคฏเคน เคฒोเคกเคฐ เคเคชเคी เคตेเคฌเคธाเคเค เคो เคเค เคช्เคฐीเคฎिเคฏเคฎ เคเคฐ เคช्เคฐोเคซेเคถเคจเคฒ เคฒुเค เคฆेเคคा เคนै। เคนเคฎเคจे เคเคธเคฎें CSS keyframes เคा เคเคชเคฏोเค เคिเคฏा เคนै เคคाเคि เคเคฒ्เคฒे (rings) เค เคฒเค-เค เคฒเค เคฆिเคถाเคं เคฎें เคूเคฎ เคธเคें।
Welcome Everyone! (English)
In this tutorial, we will learn how to create a beautiful and modern Glowing Ring Loader using only HTML and CSS. This loader adds a premium and professional touch to your website. We have used CSS keyframes to make the rings rotate in different directions with a glowing neon effect.
Live Demo
Step 1: HTML Structure
HTML code is very simple. We are using four div elements with the class "ring".
<div class="count">
<div class="ring"></div>
<div class="ring"></div>
<div class="ring"></div>
<div class="ring"></div>
</div>
Step 2: CSS Styling
CSS use kiya gaya hai animation aur neon glow effect create karne ke liye.
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #111;
}
.count{
position: relative;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.count .ring{
position: relative;
width: 150px;
height: 150px;
margin: -30px;
border: 4px solid transparent;
border-radius: 50%;
border-top: 4px solid #24ecff;
animation: animate2 4s linear infinite;
}
@keyframes animate{
0%{
transform: rotate(0deg);
}
100%{
transform: rotate(360deg);
}
}
.count .ring::before{
content: "";
position: absolute;
top: 12px;
left: 12px;
border-radius: 50%;
width: 15px;
height: 15px;
background: #24ecff;
box-shadow: 0 0 0 5px #24ecff33,
0 0 0 10px #24ecff22,
0 0 0 20px #24ecff11,
0 0 20px #24ecff,
0 0 50px #24ecff;
}
.count .ring:nth-child(2){
animation: animate2 4s linear infinite;
animation-delay: -1s;
border-top: 4px solid transparent;
border-left:4px solid #93ff2d;
}
.count .ring:nth-child(2)::before{
content: "";
position: absolute;
top: initial;
bottom: 12px;
left: 12px;
width: 15px;
height: 15px;
background: #93ff2d;
box-shadow: 0 0 0 5px #93ff2d33,
0 0 0 10px #93ff2d22,
0 0 0 20px #93ff2d11,
0 0 20px #93ff2d,
0 0 50px #93ff2d;
}
@keyframes animate2{
0% {
transform: rotate(360deg);
}
100% {
transform:rotate(0deg);
}
}
.count .ring:nth-child(3){
animation: animate 4s linear infinite;
animation-delay: -2s;
border-top: 4px solid transparent;
border-left:4px solid #e41cf8;
position: absolute;
top: -25.66px;
}
.count .ring:nth-child(3)::before{
content: "";
position: absolute;
top: 12px;
bottom: initial;
left: 12px;
width: 15px;
height: 15px;
background: #e41cf8;
box-shadow: 0 0 0 5px #e41cf833,
0 0 0 10px #e41cf822,
0 0 0 20px #e41cf811,
0 0 20px #e41cf8,
0 0 50px #e41cf8;
}
.count .ring:nth-child(4){
animation: animate 4s linear infinite;
animation-delay: -4s;
border-top: 4px solid transparent;
border-left:4px solid #05d408;
position: absolute;
bottom: -66.66px;
}
.count .ring:nth-child(4)::before{
content: "";
position: absolute;
top: 12px;
top: 12px;
left: 12px;
width: 15px;
height: 15px;
background: #05d408;
box-shadow: 0 0 0 5px #05d40833,
0 0 0 10px #05d40822,
0 0 0 20px #05d40811,
0 0 20px #05d408,
0 0 50px #05d408;
}
How to use / เคैเคธे เคเคธ्เคคेเคฎाเคฒ เคเคฐें:
- HTML code ko apne body tag ke andar paste karein.
- CSS code ko
<style>tag ke andar ya external CSS file mein save karein. - Enjoy your glowing loader!
html
html css full course in hindi
html css tutorial for beginners
html css tutorial for beginners in hindi
html full course
Learn HTML
Web Designing
Web Designing๐
- Get link
- X
- Other Apps
Comments
Post a Comment