Pure CSS Radial New Bottom

A pure CSS Radial Solution

by Stephen Irving

HTML

<div class="load-wrapper">
  <div class="pie-wrapper" data-anim="base wrapper">
    <div class="circle" data-anim="base left"></div>
    <div class="circle" data-anim="base right"></div>
  </div>
</div>

CSS

/* The basic styling */
.load-wrapper {
  width: 300px;  /* Sets the width of the wrapper */
  height: 300px; /* Sets the height of the wrapper */
  background-color: #8b8e8b; /* Sets the bg color of the wrapper */
  display: flex; /* Sets the wrapper to flex */
  flex-direction: row; /* Sets to flex by row */
  align-items: center; /* Align content vertically in wrapper */
  justify-content: center; /* Align content horizontally in wrapper*/
  background-image: url('http://download.stephenirving.net/PinPoint-reversed.png');
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: center center;
  background-size: 56px 28px;
}

.pie-wrapper {
  width: 100px;  /* Sets the width of the progress bar */
  height: 100px; /* Sets the height of the progress bar. Set height equal to width */
 /* margin-bottom: 50px; /* Sets margin space at the bottom of the progress bar */
  position: absolute; /* Enables clipping */
  clip: rect(0px, 100px, 100px, 50px); /* Hide half of the progress bar */
}

/* Set the sizes of the elements that make up the progress bar */
.circle {
  width: 80px;  /* Set to 80% of wrapper width */
  height: 80px; /* Set to 80% of wrapper width */
  border: 10px solid #58b86b; /* Set to 10% of wrapper width and the color desired */
  border-radius: 50px; /* Set to 50% of wrapper width */
  position: absolute;
  clip: rect(0px, 50px, 100px, 0px);
}

/* Using the data attributes for the animation selectors. */
/* Base settings for all animated elements */
div[data-anim~=base] {
  -webkit-animation-iteration-count: 1;  /* Only run once */
  -webkit-animation-fill-mode: forwards; /* Holds the last keyframe */
  -webkit-animation-timing-function: linear; /* Linear animation */
}

.pie-wrapper[data-anim~=wrapper] {
  -webkit-animation-duration: 0.01s; /* Completes keyframes asap */
  -webkit-animation-delay: 2s; /* Waits half of the animation time */
  -webkit-animation-name: close-wrapper; /* Keyframes name...