forked from lvwzhen/apple-icon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathios8.html
85 lines (82 loc) · 2.99 KB
/
ios8.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>iOS 8</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.ico" />
<style>
@font-face {
font-weight:200;
font-style:normal;
font-family:'HelveticaNeue';
src:url("fonts/HelveticaNeue-UltraLight.otf");
}
body {
background:url(images/ios8-bg.jpg) no-repeat;
/*background-size*/
-webkit-background-size:/*@@prefixmycss->No equivalent*/;
-moz-background-size:cover;
-o-background-size:/*@@prefixmycss->No equivalent*/;
background-size:cover;
text-align:center;
-webkit-font-smoothing:antialiased;
font-smoothing:antialiased;
font-family:'HelveticaNeue', sans-serif;
}
h1 {
color:#fff;
text-align: center;
font-weight:200;
font-size:100px;
}
.ios {
position:relative;
margin:10% auto;
width:120px;
height:120px;
border:1px solid #DDD;
/*border-radius*/
-webkit-border-radius:30px;
-moz-border-radius:30px;
border-radius:30px;
background:#fff;
text-align:center;
font-size:120px;
font-family:'HelveticaNeue', sans-serif;
}
.ios span {
position:absolute;
top:0px;
left:0;
width:120px;
height:120px;
background:#2760e8;
/*linear-gradient*/
background:-webkit-gradient(linear, 100% 100%, 0 0, color-stop(#2760e8, 0.01), color-stop(#00e7a0, 0.23), color-stop(#22a6c5, 0.42), color-stop(#ff5b1d, 0.63), color-stop(#ff8018, 0.85), color-stop(#ffc924, 1));
background:-webkit-linear-gradient(135deg, #2760e8 1%, #00e7a0 23%, #22a6c5 42%, #ff5b1d 63%, #ff8018 85%, #ffc924 100%);
background: -moz-linear-gradient(135deg, #2760e8 1%, #00e7a0 23%, #22a6c5 42%, #ff5b1d 63%, #ff8018 85%, #ffc924 100%);
background: -o-linear-gradient(135deg, #2760e8 1%, #00e7a0 23%, #22a6c5 42%, #ff5b1d 63%, #ff8018 85%, #ffc924 100%);
background: linear-gradient(135deg, #2760e8 1%, #00e7a0 23%, #22a6c5 42%, #ff5b1d 63%, #ff8018 85%, #ffc924 100%);
background:-webkit-gradient(linear, left top, right bottom, color-stop(1%, #2760e8), color-stop(23%, #00e7a0), color-stop(42%, #22a6c5), color-stop(63%, #ff5b1d), color-stop(85%, #ff8018), color-stop(100%, #ffc924));
/*background-clip*/
-webkit-background-clip:text;
-moz-background-clip:text;
background-clip:text;
color:transparent;
line-height:120px;
webkit-text-fill-color:transparent;
text-fill-color:transparent;
}
</style>
<script src="http://cdn.staticfile.org/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body>
<div class="ios">
<span>8</span>
</div>
<h1>iOS 8</h1>
</body>
</html>