找回密码
 立即注册

css 透明度 opacity,光标类型cursor [复制链接]

admin 2025-5-20 16:08:18 201
1.jpg

  1. <title>透明度</title>
  2.   <style>
  3.     div {
  4.       width: 500px;
  5.       height: 500px;
  6.       background-color: orange;
  7.       opacity: 0;
  8.       opacity: 1;
  9.       opacity: 0.5;
  10.     }
  11.   </style>
  12. </head>
  13. <body>
  14.   <div>
  15.     <img src="./images/phone.png" alt="">
  16.   </div>
  17. </body>
复制代码
2.jpg
  1. <title>光标类型</title>
  2.   <style>
  3.     div {
  4.       width: 200px;
  5.       height: 200px;
  6.       background-color: pink;
  7.       cursor: pointer;   
  8.       cursor: text;  
  9.       cursor: move;
  10.     }
  11.   </style>
  12. </head>
  13. <body>
  14.   <div></div>
  15. </body>
复制代码

随机推荐

0 回复

发布新话题
搜索
返回顶部