• 图片飞出效果


    <!DOCTYPE html>
    <html lang="en">
      <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
        <style>
          * {
            margin: 0px;
            padding: 0px;
          }
          div {
             100px;
            height: 150px;
          }
          div.boll {
            border: 1px solid red;
             300px;
            height: 300px;
            background-color: silver;
            margin: 0 auto;
            padding-top: 20px;
          }
          .boll .box {
            background-color: white;
            /* 块元素的垂直布局变为水平布局 */
            float: left;
            /* 过渡时间为2秒 */
            transition: all .2s;
          }
          .boll .box1 {
            background-color: white;
            /* 块元素的垂直布局变为水平布局 */
            float: left;
            margin-left: 5px;
            transition: all .3s;
          }
          .box1:hover, .box:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
          }
        </style>
      </head>
      <body>
        <div class="boll">
          <div class="box"></div>
          <div class="box1"></div>
        </div>
      </body>
    </html>
  • 相关阅读:
    网址集合
    简单工具类-JsonUtil
    简单工具类-CookieUtils
    pom.xml
    jdbc.properties
    springmvc.xml
    applicationContext-redis.xml(spring整合redis集群)
    applicationContext-dao.xml
    web.xml
    环境变量配置及eclipse基本配置
  • 原文地址:https://www.cnblogs.com/kukai/p/12322600.html
Copyright © 2020-2023  润新知