SOURCE

console 命令行工具 X clear

                    
>
console
<div class='background'>
  <div class='main'>
    <div class='img inactive' id='img'>
      <div class='overlay'><p>张淡腾</p></div>
    </div>
    </div>
  </div>
</div>
*{
    transition:0.4s ease all;
  font-family:"Helvetica Neue";
    transition-delay:0s;
}

.active{
  &.img {
    border-bottom-left-radius:0px;
  }
  
  &.helper{-webkit-transform: translate(0px,100px);}
  
  &.close {
      cursor:pointer;
      transition-delay:1.2s;
      visibility:visible;
      opacity:1;
  }
  
  &.buttons{
    transition-delay:0.8s;
  }
  
  &.backer {
    transition-delay:0.4s;}
    
   &.d1{transition-delay:0.8s;}
   &.d2{transition-delay:0.6s;}
   &.d3{transition-delay:0.4s;}
}

div{
box-sizing:border-box}

.close {
transform: translate(-10px, -12px);
    position: absolute;
    font-weight: 100;
    width: 20px;
    background-color: white;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    color: #A8A8A8;
    font-size: 0.5em;
    padding-top: 5px;
    box-shadow: 0px 1px 2px;
  z-index:1;
  opacity:0;
  visibility:hidden;
}

.background {
  position:fixed;
  top:0;
  right:0;
  left:0;
  bottom:0;
  background: #225faa;
  background: linear-gradient(135deg,      #f5f5f5 0%,#eeeeee 100%);
  overflow:scroll;
}

.main {
  width:300px;
  margin:50px auto;
  height:400px;
  position:relative;
}

.img {
  overflow:hidden;
  background: url("https://pbs.twimg.com/profile_banners/225975238/1458378189/1500x500") 55% center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
  margin:0px auto;
  z-index:1;
  width:300px;
  height:300px;
  border-radius:50%;
  position:relative;
}

.img.inactive:hover {
-webkit-transform:scale3d(1.05,1.05,1.3) translate(0px,-10px);
   box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}

.img.inactive:hover .overlay {
   opacity:1;
  
  p {
    opacity:1;
    margin-top:145px;
  }
  }

.content{
  width:100%;
  position:relative;
  
  .buttons {
    position:absolute;
    right:10px;
    top:24px;
    opacity:0;
    
    a {
      text-decoration:none;
    }
    
     &.active {
       opacity:1;
      }
    
    img {
      display:inline-block;
      width:20px;
      opacity:0.5;
      
      &:hover{
         opacity:1;
       }
      
      &:last-of-type{
        padding-left:10px;
      }
    }
  }
  
  .backer {
    position:absolute;
    width:1px;
    left:0;
    top:0;
    bottom:0;
    background-color:#ccc;
    -webkit-transform: translate(0px,-100px);
    opacity:0;
    
      &.active {
       opacity:1;
            -webkit-transform: translate(0px,0px);
      }
  }
  
  p{
    padding:5px 10px;
      opacity:0;
      visibility:hidden;
    margin:0;
  
    &.active {
      -webkit-transform: translate(0px,0px);
      opacity:1;
      visibility:visible;
    }
  }
    
    .d1 {
      padding-top:20px;
       -webkit-transform: translate(0px,-30px);
      font-weight:800;
    }
    
   .d2 {
             -webkit-transform: translate(0px,-65px);
      font-weight:300;
    }
    
    .d3{
      -webkit-transform: translate(0px,-100px);
            padding-bottom:20px;
      font-family:courier;
      font-size:0.8em;
    }
}

.overlay {
  background-color:rgba(0,0,0,0.5);
  position:absolute;
  right:0;
  left:0;
  bottom:0;
  top:0;
  opacity:0;
  border-radius:50%;
  
  p{
    text-align:center;
    margin-top:160px;
    color:white;
    text-shadow:0 1px 2px black;
    opacity:0;
    text-transform:uppercase;
    letter-spacing:0.4em;
    font-weight:100;
    font-size:1.2em;
  }
}

.signature {
  background-color:rgba(255,255,255,0.9);
  width:150px;
  padding:20px;
  float:left;
  margin:0px 20px;
  opacity:0.2;
  transition:0.4s ease all;
  box-shadow:0px 2px 4px rgba(0,0,0,1);
  position:relative;
  
  &:hover {opacity:1;}
  
  img {width:100px;}
  
  p {margin:0;}
 
  p span {
    font-family:"Courier", Monospace;
    font-size:0.8em;
  }
}