<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .box {
      width: 200px;
      height: 200px;
      background: yellow;
      cursor: pointer;
      position: relative;
    }
    .box1{
      width: 116px;
      height: 133px;
      background: pink;
      display: none;
      position: absolute;
      top: 130px;
      right: -16px;
    }
    .box:hover .box1 {
      display: block;
    }
  </style>
</head>
<body>
  <div class="box">
    <div class="box1">1213</div>
  </div>
</body>
</html>

 

相关文章:

  • 2021-04-17
  • 2022-12-23
  • 2022-02-22
  • 2021-07-01
  • 2021-09-04
猜你喜欢
  • 2022-12-23
  • 2021-03-30
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2021-12-18
  • 2021-12-18
相关资源
相似解决方案