回答編集履歴

1

その他のエリアに差し掛かった時、全体がスクロールされているように分かるように、文字と色を付けてみた。

2022/05/16 05:44

投稿

nekora
nekora

スコア501

test CHANGED
@@ -17,6 +17,7 @@
17
17
  height: 3000px;
18
18
  margin: 0 auto;
19
19
  padding: 0 20px;
20
+ background-color: chocolate;
20
21
  }
21
22
 
22
23
  .flex-container {
@@ -28,14 +29,14 @@
28
29
  padding: 0;
29
30
  margin: 0;;
30
31
  width: 70%;
31
- background-color: burlywood;
32
+ background-color: burlywood !important;
32
33
  }
33
34
 
34
35
  .sidebar {
35
36
  width: 30%;
36
37
  padding: 0;
37
38
  margin: 0;
38
- background-color: aqua;
39
+ background-color: aqua !important;
39
40
  }
40
41
  .sidebar p {
41
42
  position: sticky;
@@ -107,6 +108,7 @@
107
108
 
108
109
 
109
110
  </div>
111
+ その他のエリア
110
112
  </div>
111
113
  </body>
112
114
  </html>