SOURCE

console 命令行工具 X clear

                    
>
console
<div class="flex-container">
	<div class="flex-unit">
		<div class="miffy">
			<div class="miffy-fill">
				<div class="face">
					<div class="tears"></div>
					<div class="eye left"></div>
					<div class="eye right"></div>
					<div class="mouth"></div>
				</div>
				<div class="ear left"></div>
				<div class="ear right"></div>
			</div>
			<div class="miffy-stroke">
				<div class="face"></div>
				<div class="ear left"></div>
				<div class="ear right"></div>
			</div>
		</div>
		<h1>In memory of Dick Bruna</h1>
	</div>
</div>
html,
body {
  width: 100%;
  height: 100%;
}
body {
  background-color: #e9631a;
}
.flex-container {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.flex-unit {
  text-align: center;
}
h1 {
  font-family: sans-serif;
  margin: 0 auto;
}
.miffy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  margin: 0 auto;
  width: 300px;
  height: 300px;
  -webkit-transform: rotate(-5deg);
          transform: rotate(-5deg);
}
.miffy-fill,
.miffy-stroke {
  position: absolute;
}
.miffy-fill {
  padding: 4px;
  z-index: 15;
}
.miffy-fill .face,
.miffy-fill .ear {
  background-color: #fff;
}
.miffy-stroke {
  z-index: 10;
}
.miffy-stroke .face,
.miffy-stroke .ear {
  background-color: #000;
}
.face {
  border-radius: 45%/48%;
}
.miffy-fill .face {
  width: 140px;
  height: 120px;
}
.miffy-stroke .face {
  width: 148px;
  height: 128px;
}
.ear {
  position: absolute;
  border-radius: 48%/40%;
  -webkit-transform-origin: center bottom;
          transform-origin: center bottom;
}
.ear.left {
  -webkit-transform: rotate(-4deg);
          transform: rotate(-4deg);
}
.ear.right {
  -webkit-transform: rotate(8deg);
          transform: rotate(8deg);
}
.miffy-fill .ear {
  width: 45px;
  height: 110px;
  bottom: 75%;
}
.miffy-fill .ear.left {
  left: 19%;
}
.miffy-fill .ear.right {
  right: 19%;
}
.miffy-stroke .ear {
  width: 53px;
  height: 118px;
  bottom: calc(75% - 4px);
}
.miffy-stroke .ear.left {
  left: calc(19% - 4px);
}
.miffy-stroke .ear.right {
  right: calc(19% - 4px);
}
.eye {
  position: absolute;
  top: 50%;
  border-radius: 50%;
  width: 10px;
  height: 11px;
  background-color: #000;
}
.eye.left {
  left: 20%;
}
.eye.right {
  right: 20%;
}
.mouth {
  position: absolute;
  bottom: 20%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 18px;
}
.mouth:before,
.mouth:after {
  content: '';
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background-color: #000;
  border-radius: 10px;
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
}
.mouth:before {
  -webkit-transform: rotate(25deg);
          transform: rotate(25deg);
}
.mouth:after {
  -webkit-transform: rotate(-25deg);
          transform: rotate(-25deg);
}
.tears {
  position: absolute;
  left: 15%;
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 4px solid #000;
  border-radius: 10% 50% 50% 50%;
  -webkit-animation: crying 2s ease-out infinite;
          animation: crying 2s ease-out infinite;
}
@-webkit-keyframes crying {
  0%, 100% {
    opacity: 0;
    top: 45%;
    -webkit-transform: rotate(50deg) scale(0, 0);
            transform: rotate(50deg) scale(0, 0);
  }
  10% {
    opacity: 1;
    -webkit-transform: rotate(50deg) scale(0.5, 0.5);
            transform: rotate(50deg) scale(0.5, 0.5);
  }
  20% {
    -webkit-transform: rotate(50deg) scale(1, 1);
            transform: rotate(50deg) scale(1, 1);
  }
  70% {
    opacity: 1;
    -webkit-transform: rotate(50deg) scale(1, 1);
            transform: rotate(50deg) scale(1, 1);
  }
  80% {
    opacity: 0;
    top: 100%;
    -webkit-transform: rotate(50deg) scale(1.2, 1.2);
            transform: rotate(50deg) scale(1.2, 1.2);
  }
}
@keyframes crying {
  0%, 100% {
    opacity: 0;
    top: 45%;
    -webkit-transform: rotate(50deg) scale(0, 0);
            transform: rotate(50deg) scale(0, 0);
  }
  10% {
    opacity: 1;
    -webkit-transform: rotate(50deg) scale(0.5, 0.5);
            transform: rotate(50deg) scale(0.5, 0.5);
  }
  20% {
    -webkit-transform: rotate(50deg) scale(1, 1);
            transform: rotate(50deg) scale(1, 1);
  }
  70% {
    opacity: 1;
    -webkit-transform: rotate(50deg) scale(1, 1);
            transform: rotate(50deg) scale(1, 1);
  }
  80% {
    opacity: 0;
    top: 100%;
    -webkit-transform: rotate(50deg) scale(1.2, 1.2);
            transform: rotate(50deg) scale(1.2, 1.2);
  }
}