Microsoft components/progress

From Wjghj Project Static Database

Horizontal

Spinner

CSS

Horizontal
/** Horizontal **/
.ms-progress {
  position: relative;
  min-width: 296px;
  width: 100%;
  overflow: hidden;
  min-height: 6px
}

.ms-progress div {
  position: absolute;
  display: inline-block;
  opacity: 0;
  animation: dots 5.5s infinite
}

.ms-progress div:after {
  content: "";
  position: absolute;
  display: inline-block;
  background: #33a0fb;
  width: 6px;
  height: 6px;
  border-radius: 50%
}

.ms-progress div:nth-child(1) {
  animation-delay: .05s
}

.ms-progress div:nth-child(1):after {
  left: -10px
}

.ms-progress div:nth-child(2) {
  animation-delay: .1s
}

.ms-progress div:nth-child(2):after {
  left: -20px
}

.ms-progress div:nth-child(3) {
  animation-delay: .15s
}

.ms-progress div:nth-child(3):after {
  left: -30px
}

.ms-progress div:nth-child(4) {
  animation-delay: .2s
}

.ms-progress div:nth-child(4):after {
  left: -40px
}

.ms-progress div:nth-child(5) {
  animation-delay: .25s
}

.ms-progress div:nth-child(5):after {
  left: -50px
}

@keyframes dots {
  0%, 20% {
    left: 0;
    animation-timing-function: ease-out;
    opacity: 0
  }
  25% {
    opacity: 1
  }
  35% {
    left: 45%;
    animation-timing-function: linear
  }
  65% {
    left: 55%;
    animation-timing-function: ease-in
  }
  75% {
    opacity: 1
  }
  80%, 100% {
    left: 100%;
    opacity: 0
  }
}
Spinner
/** Spinner **/
 .ms-spinner {
  position: relative
}
.ms-spinner div {
  position: absolute;
  -ms-transform: rotate(225deg);
  transform: rotate(225deg);
  animation: orbit 5.5s infinite;
}

.ms-spinner div:after {
  content: ;
  position: absolute;
  border-radius: 100%;
  background: #1483da
}

.ms-spinner div:nth-child(2) {
  animation-delay: 200ms
}

.ms-spinner div:nth-child(3) {
  animation-delay: 400ms
}

.ms-spinner div:nth-child(4) {
  animation-delay: 600ms
}

.ms-spinner div:nth-child(5) {
  animation-delay: 800ms
}

.ms-spinner {
  width: 30px;
  height: 30px
}

.ms-spinner div {
  width: 30px;
  height: 30px
}

.ms-spinner div:after {
  width: 4px;
  height: 4px
}
@keyframes orbit {
  0% {
    transform: rotate(225deg);
    opacity: 1;
    animation-timing-function: ease-out
  }
  7% {
    transform: rotate(345deg);
    animation-timing-function: linear
  }
  30% {
    transform: rotate(455deg);
    animation-timing-function: ease-in-out
  }
  39% {
    transform: rotate(690deg);
    animation-timing-function: linear
  }
  70% {
    transform: rotate(815deg);
    opacity: 1;
    animation-timing-function: ease-out
  }
  75% {
    transform: rotate(920deg);
    animation-timing-function: ease-out
  }
  76% {
    transform: rotate(935deg);
    opacity: 0
  }
  100% {
    transform: rotate(935deg);
    opacity: 0
  }
}