首页 > 其他分享 >css画对钩|钩子

css画对钩|钩子

时间:2023-03-06 10:56:22浏览次数:36  
标签:color 钩子 height width border css

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>css画对钩|钩子</title>
  </head>
  <style>
    body {
      background-color: green;
    }
    .choice{
      width:48px;
      height: 48px;
      border-radius: 50%;
      background-color: #FF4B10;
      position: relative;
    }
    .icon{
      position: absolute;
      left: 17px;
      top:10px;
      width: 12px;
      height: 20px;
      border-color: #FFF;
      border-style: solid;
      border-width: 0px 5px 5px 0px;
      transform: rotate(45deg);
    }
  </style>
  <body>
    <div class="choice">
      <div class="icon"></div>
    </div>
  </body>
</html>

 

标签:color,钩子,height,width,border,css
From: https://www.cnblogs.com/liujinyu/p/17182949.html

相关文章