This repository was archived by the owner on Aug 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
56 lines (52 loc) · 1.33 KB
/
example.html
File metadata and controls
56 lines (52 loc) · 1.33 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Example</title>
<link rel="stylesheet" type="text/css" href="assets/styles/ionicons.css" />
<style type="text/css">
.xl {
font-size: 2.5rem;
}
.lg {
font-size: 1.75rem;
}
.md {
font-size: 1.25rem;
}
.red {
color: red;
}
.gradient {
color: transparent;
background: linear-gradient(to right, red, yellow);
background-clip: text;
-webkit-background-clip: text;
}
</style>
</head>
<body>
<p>
<i class="ionicons-ios-alarm"></i>
<span>name: ios-alarm.svg</span>
</p>
<p>
<i class="ionicons-ios-images md"></i>
<span>font-size: 1.25rem</span>
</p>
<p>
<i class="ionicons-ios-heart lg red"></i>
<span>color: red</span>
</p>
<p>
<i class="ionicons-ios-finger-print xl gradient"></i>
<span>linear-gradient</span>
<a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip">MDN Doc</a>
</p>
<p>
<a href="https://github.com/ixiaer/icon-ionicons">Github Source</a>
</p>
</body>
</html>