Html - 仿Ios assistiveTouch 悬浮辅助球工具
2024-10-18 08:38:53
仿Ios assistiveTouch 悬浮辅助球工具
<!DOCTYPE html>
<html> <head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
.assistive-wrap{
width: 58px;
height: 58px;
position: fixed;
top: 50%;
margin-top: -29px;
left: 1px;
} .assistive-touch{
width: 100%;
height: 100%;
background: #343434;
border-radius: 10px;
opacity: .3;
position: relative;
} .assistive-touch:before, .assistive-touch:after, .assistive-touch span{
content: '';
position: absolute;
border-radius: 100%;
box-shadow: 0 0 2px rgba(30, 30, 30, .5);
display: block;
background: rgba(255, 255, 255, .6);
} .assistive-touch:before{
width: 42px;
height: 42px;
left: 8px;
top: 8px;
opacity: .5;
} .assistive-touch span{
width: 34px;
height: 34px;
left: 12px;
top: 12px;
} .assistive-touch:after{
width: 26px;
height: 26px;
left: 16px;
top: 16px;
background: #fff;
}
</style>
</head> <body>
<div class="assistive-wrap">
<div class="assistive-touch">
<span></span>
</div>
</div>
</body> </html>
最新文章
- div滚动底部加载li,window滚动底部加载li
- Weibo SDK WP版本回调参数没有uid的解决方法
- Python交互式编程导论----事件驱动编程
- CC1310的RSSI值问题
- ServiceStack.OrmLite中的一些";陷阱";(1)
- Android悬浮窗实现 使用WindowManager
- Linux账号密码过期会导致crontab作业不能执行
- 传智播客JavaWeb day06-jstl
- Github个人使用经历
- 分布式数据库hbase详解
- Android ContentProvider和Uri详解 (绝对全面)
- 编译ycm库
- 在vue 中使用Stylus
- SAP文件的上传下载 SMW0,二进制文件
- DNS主从服务部署
- 用Arduino制作一个二维码显示器
- C++版 - 剑指offer面试题28: 字符串的排列
- Spring-Cloud-Netflix
- blender 操作快捷键
- es倒排索引和正排索引