-
Notifications
You must be signed in to change notification settings - Fork 166
/
Copy pathtest.html
45 lines (43 loc) · 913 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="css/styles.css">
<style>
.dev .ed-grid {
outline: 1px solid hsl(0,100%,80%);
padding : 5px;
position : relative;
}
.dev .ed-grid::before {
content: attr(class);
position : absolute;
bottom : 0;
right : 0;
background : hsl(0,100%,80%);
color: #fff;
padding : 2px 6px;
opacity : .9;
}
.dev .ed-grid > * {
outline: 1px solid hsl(120,100%,40%);
position : relative;
}
.dev .ed-grid > *::before {
font-size : 14px;
font-weight : normal;
content: attr(class);
position : absolute;
bottom : 0;
right : 0;
background : hsl(120,100%,40%);
color: #fff;
padding : 2px 6px;
opacity : .9;
}
</style>
</head>
<body>
</body>
</html>