Dashed border floating button animation
<div class="page-wrapper">
  <div class="circle-wrapper">
    <div class="circle"></div>
    <div class="icon">
      <i class="fa fa-question"></i>
    </div>
  </div>
</div>
.circle-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  float: left;
  margin: 10px;
}

.icon {
  position: absolute;
  color: #fff;
  font-size: 55px;
  display: block;
  width: 55px;
  line-height: 55px;
  text-align: center;
  top: 50%;
  left: 50%;
  transition-duration: 0.2s;
  transform: translate(-50%, -50%);
  text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}
.icon:hover {
  transition-duration: 0.2s;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}
.circle {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 2.5px;
  box-sizing: border-box;
  animation: spin 10s linear infinite;
  background: linear-gradient(241deg, #f7a413 0%, #e329fd 100%);
  border: 2px dashed #fff;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
}

@keyframes spin {
  100% {
    transform: rotateZ(360deg);
  }
}

.page-wrapper {
  height: 100vh;
  background: linear-gradient(241deg, #f7f7f7 0%, #e3e3e3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
body {
  margin: 0;
}
// JavaScript

Dashed border floating button animation

  • Archivos
  • Index
  • Style
  • Script
  • README
  • CDN Agregar
  • font-awesome 5.15.4 cdnjs
HTML

title: description:

Markdown

PLEASE WAIT...