运行代码 缩小
汉王
HTML代码
复制 格式化 注释 注释 清空
放大
AخA
 
1
<!DOCTYPE HTML>
2
<html>
3
<meta charset="utf-8">
4
<head>
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
<title>iphone手机桌面效果</title>
7
<style type="text/css">
8
body,div,ul,li{padding: 0; margin: 0; }
9
li{list-style: none; }
10
body {background: #333; }
11
#iphone {width: 900px; height: 600px; background: url(//ku.shouce.ren/files/images/201601/56a3202fee4c7.jpg); position: absolute; top: 50%; left: 50%; margin: -300px 0 0 -450px; }
12
#wrap {width: 240px; height: 360px; position: absolute; top: 121px; left: 326px; overflow:hidden; }
13
#iphone ul#zm {width: 1200px; height: 360px; cursor: pointer; position: absolute; top: 0px; left: 0px; background:url(//ku.shouce.ren/files/images/201601/56a320310f648.jpg) center center;}
14
#iphone ul#zm li {float: left; width:240px; height:350px;padding-top:10px;overflow:hidden;}
15
#iphone ul#zm li div{float: left; width:60px; height:80px; background-repeat: no-repeat;margin: 10px;position: relative;}
CSS代码
复制 格式化 注释 注释 颜色 清空
放大
CSS代码...
x
 
1
JS代码
复制 格式化 注释 注释 清空
放大
JS代码...
xxxxxxxxxx
1
 
1
名称
iphone手机桌面效果
分类
网站常用
描述
iphone手机桌面效果,因为用了css3样式,只测试了谷歌浏览器。
收藏