forked from parcel-bundler/lightningcss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (69 loc) · 1.95 KB
/
index.html
File metadata and controls
78 lines (69 loc) · 1.95 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Parcel CSS Playground</title>
<style>
html, body {
margin: 0;
height: 100%;
box-sizing: border-box
}
body {
display: flex;
flex-direction: column;
gap: 5px;
padding: 10px;
}
.targets {
display: table;
margin-top: 10px;
}
.targets label {
display: table-row;
}
.targets label span,
.targets label input {
display: table-cell;
}
main {
display: flex;
flex: 1
}
textarea {
flex: 1;
font: 14px monospace;
}
</style>
</head>
<body>
<h1>Parcel CSS Playground</h1>
<main>
<div>
<label><input id="minify" type="checkbox" checked> Minify</label>
<div class="targets">
<label><span>Chrome: </span><input id="chrome" type="number" value="95"></label>
<label><span>Firefox: </span><input id="firefox" type="number"></label>
<label><span>Safari: </span><input id="safari" type="number"></label>
<label><span>Opera: </span><input id="opera" type="number"></label>
<label><span>Edge: </span><input id="edge" type="number"></label>
<label><span>IE: </span><input id="ie" type="number"></label>
<label><span>iOS: </span><input id="ios_saf" type="number"></label>
<label><span>Android: </span><input id="android" type="number"></label>
<label><span>Samsung: </span><input id="samsung" type="number"></label>
</div>
</div>
<textarea id="source">
.foo {
background: yellow;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-transition: background 200ms;
-moz-transition: background 200ms;
transition: background 200ms;
}</textarea>
<textarea id="compiled"></textarea>
</main>
<script type="module" src="playground.js"></script>
</body>
</html>