Prévisualisation
<div class="rdr-loader">
<span></span>
</div>
.rdr-loader {
position: relative;
width: 150px;
height: 150px;
background: transparent;
border-radius: 50%;
box-shadow: 25px 25px 75px rgba(0,0,0,0.55);
border: 1px solid #333;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.rdr-loader::before {
content: '';
position: absolute;
inset: 20px;
background: transparent;
border: 1px dashed #444;
border-radius: 50%;
box-shadow: inset -5px -5px 25px rgba(0,0,0,0.25),
inset 5px 5px 35px rgba(0,0,0,0.25);
}
.rdr-loader::after {
content: '';
position: absolute;
width: 50px;
height: 50px;
border-radius: 50%;
border: 1px dashed #444;
box-shadow: inset -5px -5px 25px rgba(0,0,0,0.25),
inset 5px 5px 35px rgba(0,0,0,0.25);
}
.rdr-loader span {
position: absolute;
top: 50%;
left: 50%;
width: 50%;
height: 100%;
background: transparent;
transform-origin: top left;
animation: rdr-radar 2s linear infinite;
border-top: 1px dashed #fff;
}
.rdr-loader span::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: seagreen;
transform-origin: top left;
transform: rotate(-55deg);
filter: blur(30px) drop-shadow(20px 20px 20px seagreen);
}
@keyframes rdr-radar {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
Licence MIT
Original author:
3HugaDa3
Copyright - 2025 3HugaDa3 (Daniil)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.