iPhone设计图
来源:互联网 发布:手机淘宝历史版本下载 编辑:程序博客网 时间:2024/05/16 23:41
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>6S</title> <style type="text/css"> body{ background: #cccccc; } #phone{ /*子绝父相 */ position: relative; width: 320px; height: 580px; background: black; /*居中 上下0,左右自动*/ margin: 50px auto 0px; border: #3b3b3b solid 10px; border-radius: 40px; /*阴影效果*/ box-shadow: 3px 5px 5px 1px rgba(0,0,0,0.5); } #phone:after{ content: ''; width: 6px; display: block; height: 50px; background: #2e2e2e; /*子绝父相 */ position: absolute; left: -16px; top: 60px; border-radius: 5px 0px 0px 5px ; } #phone:before{ content: ''; width: 50px; height: 6px; display: block; background: #2e2e2e; position: absolute; right: 36px; top: -16px; border-radius: 5px 5px 0px 0px ; } #camera{ width: 6px; height: 6px; background-color: #1a1a1a; border:#4a4a4a solid 3px; border-radius: 50%; margin: 20px auto 0px; } #headphone{ width: 60px; height: 5px;; background-color: #1a1a1a; border: #4a4a4a solid 4px; margin: 16px auto 0px; border-radius: 10px; box-shadow: 1px 2px 2px rgba(0,0,0,0.5); } #screen{ width:290px; height: 430px; background-color: #0a0a0a; margin: 20px auto 0px; border: #1a1a1a solid 4px; } #btn{ width: 40px; height: 40px; background-color: #1a1a1a; margin: 10px auto 0px; border-radius: 50%; border: lightgrey solid 2px; /*position: relative;*/ /*阴影效果*/ box-shadow: 2px 2px 2px rgba(0,0,0,0.5) inset; /*减掉超出界面部分 阻止边界传导*/ overflow: hidden; } /*#btn:before{*/ /*content: '';*/ /*width: 20px;*/ /*height: 20px;*/ /*border: #FFFFFF solid 2px;*/ /*display: block;*/ /*margin: 9px auto;*/ /*border-radius: 5px;*/ /*/!*position: absolute;*!/*/ /*}*/ #screen text{ color: white; display: block; /*background: red;*/ text-align: center; height: 60px; line-height: 60px; margin: 180px auto 0px; font-size: 30px; } </style></head><body> <div id="phone"> <div id="camera"></div> <div id="headphone"></div> <div id="screen"> <text>iPhone7S</text> </div> <div id="btn"></div> </div></body></html>
阅读全文
0 0
- iPhone设计图
- iPhone分辨率和坐标、设计图尺寸
- 设计图
- 下一代iPhone前面板设计图曝光 明确采用4英寸屏
- 方案设计图
- 裁剪设计图
- 新的JsMenuBar设计图
- 大型网站架构设计图
- HCP程序设计图法
- 视频控制面板设计图
- 软件包装盒设计图
- CloudBox uml设计图
- web美化设计图
- mooon-agent核心设计图
- mooon-agent核心设计图
- MOOON-scheduler设计图更新
- 大型网站架构设计图
- 如何看UML设计图
- Codeforces Round #426 (Div. 2) C. The Meaningless Game
- 选择排序
- chown -R mysql:mysql ./及chown详解
- 17/7/31学习笔记02
- 微信公众号之:JSSDK接入以及invalid signature等常见错误问题
- iPhone设计图
- 常用Git指令学习
- debian重启没办法进入图形界面
- iOS之APP异常崩溃抓取
- 设计模式之适配器模式
- Tip7 将0值作为枚举的默认值
- 教你如何简单快速的清理你的mac苹果电脑垃圾
- H.264视频编解码技术解析
- CS229 Lecture Note 1(监督学习、线性回归)