circle-spinner()
Abstract circle spinner component
scss
//
// @param hash $params
// size length
// color hex
// border-size length
// delay seconds
// duration seconds
//
@use "node_modules/sass-basis/src/css/core";
.c-circle-spinner {
@include core.circle-spinner((
size: 20px,
color: var(--_light-color-gray),
border-size: 3px,
delay: 0s,
duration: 2s,
));
}
html
<div class="c-circle-spinner"></div>