SOURCE

console 命令行工具 X clear

                    
>
console
<div class="g-container">
    <div class="g-number">98.7%</div>
    <div class="g-contrast">
        <div class="g-circle"></div>
        <ul class="g-bubbles">
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
</div>
html,
body {
  width: 100%;
  height: 100%;
  display: flex;
  background: #000;
  overflow: hidden; }

.g-number {
  position: absolute;
  width: 300px;
  top: 27%;
  text-align: center;
  font-size: 32px;
  z-index: 10;
  color: #fff; }

.g-container {
  position: relative;
  width: 300px;
  height: 400px;
  margin: auto; }

.g-contrast {
  filter: contrast(15) hue-rotate(0);
  width: 300px;
  height: 400px;
  background-color: #000;
  overflow: hidden;
  animation: hueRotate 10s infinite linear; }

.g-circle {
  position: relative;
  width: 300px;
  height: 300px;
  box-sizing: border-box;
  filter: blur(8px); }
  .g-circle::after {
    content: "";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0);
    width: 200px;
    height: 200px;
    background-color: #00ff6f;
    border-radius: 42% 38% 62% 49% / 45%;
    animation: rotate 10s infinite linear; }
  .g-circle::before {
    content: "";
    position: absolute;
    width: 176px;
    height: 176px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: #000;
    z-index: 10; }

.g-bubbles {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 40px;
  transform: translate(-50%, 0);
  border-radius: 100px 100px 0 0;
  background-color: #00ff6f;
  filter: blur(5px); }

li {
  position: absolute;
  border-radius: 50%;
  background: #00ff6f; }

li:nth-child(0) {
  left: 47px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  animation: moveToTop 7s ease-in-out -2.977s infinite; }

li:nth-child(1) {
  left: 54px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  animation: moveToTop 6s ease-in-out -1.1s infinite; }

li:nth-child(2) {
  left: 31px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  animation: moveToTop 5s ease-in-out -2.97s infinite; }

li:nth-child(3) {
  left: 57px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  animation: moveToTop 9s ease-in-out -0.864s infinite; }

li:nth-child(4) {
  left: 32px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  animation: moveToTop 6s ease-in-out -2.084s infinite; }

li:nth-child(5) {
  left: 68px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  animation: moveToTop 8s ease-in-out -3.765s infinite; }

li:nth-child(6) {
  left: 54px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  animation: moveToTop 9s ease-in-out -3.731s infinite; }

li:nth-child(7) {
  left: 56px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  animation: moveToTop 6s ease-in-out -2.36s infinite; }

li:nth-child(8) {
  left: 51px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  animation: moveToTop 4s ease-in-out -4.663s infinite; }

li:nth-child(9) {
  left: 84px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  animation: moveToTop 6s ease-in-out -2.136s infinite; }

li:nth-child(10) {
  left: 69px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 29px;
  height: 29px;
  animation: moveToTop 9s ease-in-out -1.434s infinite; }

li:nth-child(11) {
  left: 29px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 29px;
  height: 29px;
  animation: moveToTop 6s ease-in-out -4.06s infinite; }

li:nth-child(12) {
  left: 66px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  animation: moveToTop 5s ease-in-out -1.825s infinite; }

li:nth-child(13) {
  left: 74px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 25px;
  height: 25px;
  animation: moveToTop 5s ease-in-out -4.959s infinite; }

li:nth-child(14) {
  left: 51px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 23px;
  height: 23px;
  animation: moveToTop 6s ease-in-out -4.459s infinite; }

li:nth-child(15) {
  left: 51px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 27px;
  height: 27px;
  animation: moveToTop 4s ease-in-out -4.505s infinite; }

@keyframes rotate {
  50% {
    border-radius: 45% / 42% 38% 58% 49%; }
  100% {
    transform: translate(-50%, -50%) rotate(720deg); } }
@keyframes moveToTop {
  90% {
    opacity: 1; }
  100% {
    opacity: .1;
    transform: translate(-50%, -180px); } }
@keyframes hueRotate {
  100% {
    filter: contrast(15) hue-rotate(360deg); } }

/*# sourceMappingURL=index.css.map */