-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
118 lines (100 loc) · 5.04 KB
/
index.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Rating only CSS</title>
<link href='https://fonts.googleapis.com/css?family=Luckiest+Guy' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="assets/css/style.css">
<meta property="og:type" content="website"/>
<meta property="og:locale" content="en" />
<meta property="og:title" content="Rating with HTML and CSS" />
<meta property="og:site_name" content="Rating with HTML and CSS"/>
<meta property="og:description" content="Rating developed with HTML and CSS by Deivid Marques"/>
<meta property="og:url" content="http://deividmarques.github.io/rating-css/"/>
<meta property="og:image" content="http://deividmarques.github.io/rating-css/assets/images/thumb.jpg" />
</head>
<body>
<a href="https://github.com/deividmarques/rating-css"><img style="position: fixed; top: 0; right: 0; border: 0; z-index: 5;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<header class="topbar">Enjoy the rating only CSS</header>
<h2 class="title">Star</h2>
<div class="rating rating-star">
<input id="rating5a" type="radio" name="rating" value="5">
<label title="Vote 5" for="rating5a"></label>
<input id="rating4a" type="radio" name="rating" value="4" checked>
<label title="Vote 4" for="rating4a"></label>
<input id="rating3a" type="radio" name="rating" value="3" >
<label title="Vote 3" for="rating3a"></label>
<input id="rating2a" type="radio" name="rating" value="2">
<label title="Vote 2" for="rating2a"></label>
<input id="rating1a" type="radio" name="rating" value="1">
<label title="Vote 1" for="rating1a"></label>
</div>
<hr>
<h2 class="title">Pacman</h2>
<div class="rating rating-pacman">
<input id="rating5d" type="radio" name="rating4" value="5">
<label for="rating5d" title="Vote 5">5</label>
<input id="rating4d" type="radio" name="rating4" value="4">
<label for="rating4d" title="Vote 4">4</label>
<input id="rating3d" type="radio" name="rating4" value="3" >
<label for="rating3d" title="Vote 3">3</label>
<input id="rating2d" type="radio" name="rating4" value="2">
<label for="rating2d" title="Vote 2">2</label>
<input id="rating1d" type="radio" name="rating4" value="1">
<label for="rating1d" title="Vote 1">1</label>
</div>
<hr>
<h2 class="title">Bar</h2>
<div class="rating rating-bar">
<input id="rating5c" type="radio" name="rating3" value="5">
<label for="rating5c" title="Vote 5">5</label>
<input id="rating4c" type="radio" name="rating3" value="4">
<label for="rating4c" title="Vote 4">4</label>
<input id="rating3c" type="radio" name="rating3" value="3" >
<label for="rating3c" title="Vote 3">3</label>
<input id="rating2c" type="radio" name="rating3" value="2">
<label for="rating2c" title="Vote 2">2</label>
<input id="rating1c" type="radio" name="rating3" checked value="1">
<label for="rating1c" title="Vote 1">1</label>
</div>
<hr>
<h2 class="title">Love</h2>
<div class="rating rating-love">
<input id="rating5e" type="radio" name="rating5" value="5">
<label for="rating5e" title="Vote 5"><span></span></label>
<input id="rating4e" type="radio" name="rating5" value="4" >
<label for="rating4e" title="Vote 4"><span></span></label>
<input id="rating3e" type="radio" name="rating5" value="3" checked >
<label for="rating3e" title="Vote 3"><span></span></label>
<input id="rating2e" type="radio" name="rating5" value="2">
<label for="rating2e" title="Vote 2"><span></span></label>
<input id="rating1e" type="radio" name="rating5" value="1">
<label for="rating1e" title="Vote 1"><span></span></label>
</div>
<hr>
<h2 class="title">Circle</h2>
<div class="rating rating-circle">
<input id="rating5b" type="radio" name="rating2" value="5">
<label for="rating5b" title="Vote 5">5</label>
<input id="rating4b" type="radio" name="rating2" value="4" >
<label for="rating4b" title="Vote 4">4</label>
<input id="rating3b" type="radio" name="rating2" value="3" checked >
<label for="rating3b" title="Vote 3">3</label>
<input id="rating2b" type="radio" name="rating2" value="2">
<label for="rating2b" title="Vote 2">2</label>
<input id="rating1b" type="radio" name="rating2" value="1">
<label for="rating1b" title="Vote 1">1</label>
</div>
<footer class="foot">
developed by <a href="http://twitter.com/deividmarques">Deivid Marques</a>
</footer>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-71904992-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>