点击按钮区域,按钮大小不变的情况下,扩大热点区域的方法,不支持iee8。

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>扩大热点区域的方法,不支持iee8</title>

    <style type="text/css">
        .test{width: 100px; height: 100px; border:10px dotted #000000; margin: 50px auto; padding:50px; }
        .t1{background: url("images/cake.png") center; background-clip:border-box;}
        .t2{background: url("images/cake.png") center; background-clip:padding-box;}
        .t3{background: url("images/cake.png") center; background-clip:content-box;}
    </style>
</head>
<body>
    <div class="test t1"></div>
    <div class="test t2"></div>
    <div class="test t3"></div>
</body>
</html>

点击按钮区域,按钮大小不变的情况下,扩大热点区域的方法,不支持iee8。

 

转载于:https://www.cnblogs.com/shimily/articles/10882906.html

相关文章:

  • 2021-09-04
  • 2022-12-23
  • 2021-11-23
  • 2022-02-07
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-16
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案