没有合适的资源?快使用搜索试试~ 我知道了~
1. 下面是实现iphonex 刘海屏前端页面适配的一个插值算法小案例 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> body, ul { margin: 0; } ul { padding-left: 10px; } li { list-style: none; } .phone { position: relative; w
资源推荐
资源详情
资源评论
iphone刘海屏页面适配方法刘海屏页面适配方法
1. 下面是实现iphonex 刘海屏前端页面适配的一个插值算法小案例
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
body, ul {
margin: 0;
}
ul {
padding-left: 10px;
}
li {
list-style: none;
}
.phone {
position: relative;
width: 600px;
height: 300px;
border: 10px solid #000;
border-radius: 30px;
margin: 100px auto 0;
}
.content, .content ul {
width: 100%;
height: 100%;
}
.content {
overflow-x: hidden;
overflow-y: scroll;
}
.camera {
position: absolute;
top: 60px;
left: 0;
width: 26px;
height: 180px;
background-color: black;
border-radius: 0 30px 30px 0;
}
资源评论
weixin_38503233
- 粉丝: 9
- 资源: 918
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功