-
Notifications
You must be signed in to change notification settings - Fork 0
/
style-test.html
90 lines (72 loc) · 1.51 KB
/
style-test.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
84
85
86
87
88
89
90
<head>
<!-- https://codepen.io/gntsketches/pen/yLLVqEB-->
<style>
*,
*::before,
*::after {
box-sizing: border-box
}
html {
font-family: sans-serif;
font-size: 1rem;
color: #444;
}
#root {
/*max-width: 450px;*/
max-width: 700px;
margin: 2rem auto;
padding: 0 1rem;
}
button {
cursor: pointer;
background: #007bff;
color: white;
border: 2px solid #007bff;
/*border: 2px solid #ccc;*/
margin: 0 0;
display: inline-block;
-webkit-appearance: none;
/*padding: .5rem 1rem;*/
/*font-size: 1rem;*/
/*border-radius: 4px;*/
width: 6rem;
}
form {
display: flex;
/*margin-bottom: 0.1rem;*/
}
[type="text"] {
width:100%
}
ul {
margin: 0;
padding: 0;
}
li {
display: flex;
/*align-items: center;*/
/*padding: 0.1rem 0;*/
/*margin-bottom: 1rem;*/
/*background: #f4f4f4;*/
/*border-radius: 4px;*/
}
li span {
width: 100%;
}
</style>
</head>
<body>
<div id="root">
<form>
<input type="text">
<button>Add</button>
</form>
<ul>
<li>
<button>Play</button>
<span>A bunch of text</span>
<button>Delete</button>
</li>
</ul>
</div>
</body>