forked from pattle/simpsons-in-css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
homer.html
83 lines (71 loc) · 2.77 KB
/
homer.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Homer Simpson in CSS</title>
<meta name="description" content="Homer Simpmson in CSS">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/homer.css">
<script type="text/javascript">
if(navigator.userAgent.indexOf("WebKit") != -1) {
var link = document.createElement('link');
link.href='css/homer-webkit.css';
link.rel='stylesheet';
document.getElementsByTagName('head')[0].appendChild(link);
}
</script>
</head>
<body>
<div id="homer">
<div class="head">
<!-- Hair and top of head -->
<div class="hair1"></div>
<div class="hair2"></div>
<div class="body head-top"></div>
<div class="no-border body head-main"></div>
<!-- The 'M' above the ear -->
<div class="no-border m1"></div>
<div class="no-border m2"></div>
<div class="no-border m3"></div>
<div class="no-border m4"></div>
<!-- The neck parts -->
<div class="no-border neck1"></div>
<div class="body neck2"></div>
<!-- The ear -->
<div class="body ear">
<div class="no-border inner1"></div>
<div class="no-border inner2"></div>
<div class="no-border body clip"></div>
</div>
<!-- The mouth -->
<div class="mouth">
<div class="mouth5"></div>
<div class="mouth2"></div>
<div class="mouth1"></div>
<div class="mouth7"></div>
<div class="no-border mouth3"></div>
<div class="no-border mouth4"></div>
<div class="no-border mouth6"></div>
<div class="no-border mouth8"></div>
</div>
<!-- The right eye -->
<div class="right-eye">
<div class="no-border right-eye-pupil"></div>
<div class="no-border body eyelid-top"></div>
<div class="no-border body eyelid-bottom"></div>
</div>
<!-- The nose -->
<div class="body nose"></div>
<div class="body nose-tip"></div>
<!-- The left eye -->
<div class="left-eye">
<div class="no-border left-eye-pupil"></div>
<div class="no-border body eyelid-top"></div>
<div class="no-border body eyelid-bottom"></div>
</div>
</div>
</div>
</body>
</html>