SOURCE

console 命令行工具 X clear

                    
>
console
<style>
      div {
        width: 100px;
        height: 100px;
        background: red;
        transition-property: all;
        transition-duration: 4s;
        transition-timing-function:cubic-bezier(0.1,0.9,0.9,0.1); /* ease-in-out指定以慢速开始和结束的过渡效果,等同于cubic-bezier(0.42,0,0.58,1) */
        transition-delay:2s;
      }
      div:hover {
        width: 800px;
        background: blue;
      }
    </style>
  </head>
  <body>
    <div></div> 
    渐变,花费时间,过渡效果,等待两秒执行,等待包括缩回去同样等待<br>
  </body>