SOURCE

console 命令行工具 X clear

                    
>
console
<div class="waterdrop-loader">
  <span class="tap"></span>
  <span class="water-drop"></span>
  <span class="water-drop"></span>
  
  <span class="bucket">
    <span class="bucket-water"></span>
    <span class="loading">Loading...</span>
  </span>
</div>
@import url("https://fonts.googleapis.com/css?family=Ubuntu:400,400i,700,700i");
*, *:before, *:after {
  margin: 0;
  padding: 0;
  word-break: break-all;
  box-sizing: border-box;
}

html {
  font-size: 10px;
}

body {
  font-family: 'Ubuntu', sans-serif;
  color: #6e6e6e;
  font-size: 1.6rem;background-color: #fff;
}

header, footer {
  display: block;
}

a, a:link, a:visited {
  color: #4d4d4d;
  text-decoration: none;
}

img {
  border: 0;
}

ul {
  list-style: none;
}

.waterdrop-loader {
  border-right: 5px solid #333333;
  height: 230px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
}
.waterdrop-loader::before, .waterdrop-loader::after {
  content: "";
  position: absolute;
}
.waterdrop-loader::before {
  /* Tap pipe */
  border-top: 14px solid #333333;
  border-left: 14px solid #333333;
  border-radius: 20px 0 0 0;
  height: 30px;
  right: 0;
  top: 40px;
  width: 80px;
}
.waterdrop-loader::after {
  /* Tap middle */
  background: #333333;
  border-radius: 5px 5px 20px 20px;
  height: 40px;
  right: 32px;
  top: 24px;
  width: 23px;
}

.tap {
  background: #333333;
  border-radius: 10px;
  height: 6px;
  position: absolute;
  right: 29px;
  top: 12px;
  width: 30px;
}
.tap::before, .tap::after {
  background: #333333;
  content: "";
  left: 50%;
  position: absolute;
  transform: translate(-50%, 0);
}
.tap::before {
  /* Tap vertical line */
  height: 14px;
  top: 5px;
  width: 8px;
}
.tap::after {
  /* Tap horizontal line */
  border-radius: 3px;
  height: 6px;
  top: 17px;
  width: 29px;
}

.bucket {
  background: -moz-linear-gradient(transparent 15%, rgba(232, 247, 255, 0.4) 18%);
  background: -webkit-linear-gradient(transparent 15%, rgba(232, 247, 255, 0.4) 18%);
  background: -o-linear-gradient(transparent 15%, rgba(232, 247, 255, 0.4) 18%);
  background: -ms-linear-gradient(transparent 15%, rgba(232, 247, 255, 0.4) 18%);
  background: linear-gradient(transparent 15%, rgba(232, 247, 255, 0.4) 18%);
  border-bottom: 2px solid rgba(41, 74, 117, 0.1);
  border-left: 1px solid rgba(41, 74, 117, 0.1);
  border-right: 1px solid rgba(41, 74, 117, 0.1);
  border-top: 1px solid transparent;
  border-radius: 30% 30% 35% 35%/50%;
  bottom: 0;
  height: 100px;
  overflow: hidden;
  position: absolute;
  right: 4px;
  width: 140px;
  z-index: 1;
}
.bucket::before, .bucket::after {
  content: "";
  position: absolute;
}
.bucket::before {
  /* Bucket mouth */
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(41, 74, 117, 0.1);
}

.bucket-water {
  animation: bucketWater 15s linear infinite;
  background: rgba(152, 213, 255, 0.6);
  bottom: 0;
  height: 70%;
  position: absolute;
  transform-origin: 50% 100%;
  width: 100%;
  z-index: -1;
}
.bucket-water::before, .bucket-water::after {
  border: 1px solid rgba(193, 232, 255, 0.5);
  border-radius: 50%;
  background: #dcf2ff;
  content: "";
  height: 8px;
  position: absolute;
  top: -4px;
  width: 100%;
}
.bucket-water::before {
  /* Bucket water vibrate */
  animation: vibrateWater 0.6s linear infinite;
  transform-origin: 100% 50%;
}
.bucket-water::after {
  /* Bucket water ripple */
  border-color: rgba(0, 0, 0, 0.3);
  animation: ripple 0.4s infinite;
}

@keyframes vibrateWater {
  0%, 100% {
    transform: translateY(-1px) rotate(-1deg);
  }
  50% {
    transform: translateY(1px) rotate(1deg);
  }
}
@keyframes ripple {
  0% {
    opacity: 1;
    transform: scale(0);
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
@keyframes bucketWater {
  0% {
    transform: scaleY(0);
  }
  70%, 100% {
    transform: scaleY(1);
  }
}
.water-drop {
  animation: waterDrop 0.5s linear infinite;
  border: 6px solid transparent;
  border-bottom: 12px solid rgba(37, 165, 238, 0.2);
  border-radius: 50%;
  position: absolute;
  right: 68px;
  top: 45px;
}
.water-drop:nth-of-type(2) {
  animation-delay: 0.2s;
}

@keyframes waterDrop {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translate(0, 160px);
  }
}
.loading {
  animation: blink 1s infinite;
  color: black;
  bottom: 20px;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: -2;
}

@keyframes blink {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}