回答編集履歴
1
追記
test
CHANGED
@@ -1 +1,61 @@
|
|
1
1
|
2番目のtrと最後のtrの中以外の.xxx_wrapから上下のoutlineを消せばよいです。
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
---
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
**追記:**
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
無理やりですが。
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
```CSS
|
20
|
+
|
21
|
+
.xxx_wrap {
|
22
|
+
|
23
|
+
position: relative;
|
24
|
+
|
25
|
+
}
|
26
|
+
|
27
|
+
.xxx_wrap::after {
|
28
|
+
|
29
|
+
position: absolute;
|
30
|
+
|
31
|
+
content: "";
|
32
|
+
|
33
|
+
top: -11px;
|
34
|
+
|
35
|
+
bottom: -11px;
|
36
|
+
|
37
|
+
left: -11px;
|
38
|
+
|
39
|
+
right: -11px;
|
40
|
+
|
41
|
+
border-style: solid;
|
42
|
+
|
43
|
+
border-width: 0 11px;
|
44
|
+
|
45
|
+
border-color: #d8395b;
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
tr:nth-child(2) .xxx_wrap::after {
|
50
|
+
|
51
|
+
border-top-width: 11px;
|
52
|
+
|
53
|
+
}
|
54
|
+
|
55
|
+
tr:last-child .xxx_wrap::after {
|
56
|
+
|
57
|
+
border-bottom-width: 11px;
|
58
|
+
|
59
|
+
}
|
60
|
+
|
61
|
+
```**動くサンプル:**[https://jsfiddle.net/8c7kxez3/](https://jsfiddle.net/8c7kxez3/)
|