-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathattempt1.html
53 lines (52 loc) · 1.18 KB
/
attempt1.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
<!DOCTYPE html>
<html>
<head>
<title>Words go here 1</title>
<meta charset="UTF-8">
<meta name="description" content="An attempt to make a place where people can type their words even though better alternatives exist."/>
<style>
html, body, #editor {
height: 100%;
width: 100%;
}
body {
margin: 0;
}
#editor {
background: #222;
color: white;
font-family: monospace;
counter-reset: linenumberthing;
font-size: 0;
}
line {
width: 100%;
display: block;
font-size: 15px;
height: 15px;
padding-bottom: 5px;
}
line:focus {
background: #333;
}
line:before {
counter-increment: linenumberthing;
content: counter(linenumberthing);
font-size: 10px;
padding: 0 5px;
display: inline-block;
box-sizing: border-box;
height: 100%;
}
line > div {
background: red;
}
</style>
</head>
<body>
<div id="editor"></div>
<script src="../sheep.js"></script>
<script src='a1.js'></script>
</body>
<!-- MADE BY SEAN -->
</html>