-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpanel.html
More file actions
22 lines (22 loc) · 1021 Bytes
/
panel.html
File metadata and controls
22 lines (22 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
body { margin: 0; font-family: monospace; display: flex; flex-direction: column; height: 100vh; background-color: #282c34; color: #abb2bf; }
#header { padding: 10px; background-color: #3c4048; user-select: none; cursor: move; display: flex; justify-content: space-between; align-items: center; }
#title { font-weight: bold; }
#copy-button { background: #61afef; color: #282c34; border: none; padding: 5px 10px; border-radius: 3px; cursor: pointer; }
#copy-button:active { background: #4a90e2; }
#css-display { flex-grow: 1; padding: 10px; white-space: pre-wrap; word-wrap: break-word; overflow-y: auto; font-size: 14px; }
</style>
</head>
<body>
<div id="header">
<span id="title">Generated CSS</span>
<button id="copy-button">Copy</button>
</div>
<pre id="css-display"><code>Click an element to start...</code></pre>
<script src="panel.js"></script>
</body>
</html>