国产gaysexchina男同gay,japanrcep老熟妇乱子伦视频,吃奶呻吟打开双腿做受动态图,成人色网站,国产av一区二区三区最新精品

App下載
首頁htmlflipAnimation - 如何創(chuàng)建CSS3翻轉(zhuǎn)動畫(3)

Animation - 如何創(chuàng)建CSS3翻轉(zhuǎn)動畫(3)

我們想知道如何創(chuàng)建CSS3翻轉(zhuǎn)動畫(3)

<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
#f1_container {
  position: relative;
  margin: 10px auto;
  width: 250px;
  height: 181px;
  z-index: 1;
}

.face.back {
  display: none;
}

#f1_container {
  perspective: 1000;
}

#f1_card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 1.0s linear;
}

#f1_container:hover #f1_card {
  transform: rotateY(180deg);
  box-shadow: -5px 5px 5px #aaa;
}

.face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.face.back {
  display: block;
  transform: rotateY(180deg);
  box-sizing: border-box;
  padding: 10px;
  color: white;
  text-align: center;
  background-color: #aaa;
}
</style>
</head>
<body>
    Hover image to see the effect
  <div id="f1_container">
    <div id="f1_card" class="shadow">
      <div class="front face">
        <img src="http://www.yjpub.cn/style/download.png" />
      </div>
      <div class="back face center">
        <p>This is a test.</p>
        <p>Any content can go here.</p>
      </div>
    </div>
  </div>
</body>
</html>