Files: 008b1297a20ea2e57c4ea597179935ad16121add / index.html
679 bytesRaw
1 | |
2 | <html> |
3 | <head> |
4 | <style> |
5 | |
6 | * { |
7 | padding: 0; |
8 | margin: 0; |
9 | } |
10 | |
11 | .container { |
12 | position: absolute; |
13 | top: 0; |
14 | bottom: 0; |
15 | width: 50%; |
16 | } |
17 | |
18 | .left { |
19 | left: 0; |
20 | border-right: 1px solid #888; |
21 | } |
22 | |
23 | .right { |
24 | right: 0; |
25 | } |
26 | |
27 | .box { |
28 | padding: 1em; |
29 | min-height: 80%; |
30 | } |
31 | |
32 | #output { |
33 | font-family: monospace; |
34 | white-space: pre-wrap; |
35 | } |
36 | |
37 | #input:empty:before { |
38 | color: #999; |
39 | content: 'paste rich text here'; |
40 | } |
41 | |
42 | </style> |
43 | </head> |
44 | <body> |
45 | <div class="container left"> |
46 | <div id="input" class="box" contenteditable="true"></div> |
47 | </div> |
48 | <div class="container right"> |
49 | <div id="output" class="box" contenteditable="true"></div> |
50 | </div> |
51 | <script src="bundle.js"></script> |
52 | </body> |
53 | </html> |
54 |
Built with git-ssb-web