回答編集履歴

2

サンプルリンク追加

2021/03/18 01:10

投稿

hatena19
hatena19

スコア33620

test CHANGED
@@ -81,3 +81,7 @@
81
81
  }
82
82
 
83
83
  ```
84
+
85
+
86
+
87
+ [CodePenサンプル](https://codepen.io/hatena19/pen/gOLJQGw)

1

サンプルリンク追加

2021/03/18 01:10

投稿

hatena19
hatena19

スコア33620

test CHANGED
@@ -28,15 +28,23 @@
28
28
 
29
29
 
30
30
 
31
+ .drawer_checkbox ~ .drawer_icon .close_span {
32
+
33
+ display: none;
34
+
35
+ top: 10px;
36
+
37
+ }
38
+
31
39
  .drawer_checkbox:checked ~ .drawer_icon .close_span {
32
40
 
33
- display: none;
41
+ display: block;
34
42
 
35
43
  }
36
44
 
37
45
  ```
38
46
 
39
-
47
+ [CodePenサンプル](https://codepen.io/hatena19/pen/QWGRJgq)
40
48
 
41
49
 
42
50