質問するログイン新規登録

質問編集履歴

1

コードの挿入

2021/10/26 16:30

投稿

hiyoko_000001
hiyoko_000001

スコア3

title CHANGED
File without changes
body CHANGED
@@ -6,4 +6,54 @@
6
6
  https://gyazo.com/95250e569328c706de207a2609dc537c
7
7
  https://gyazo.com/a1a63ce8c184b2efe9c8be3f08a2ceea
8
8
  ![イメージ説明](9314704f41134143f1442fe1c5e4276f.png)
9
- ![イメージ説明](216573fcce5ca7ad49624fc8113f2e36.png)
9
+ ![イメージ説明](216573fcce5ca7ad49624fc8113f2e36.png)
10
+
11
+ ```ここに言語を入力
12
+ .cover {
13
+ position: relative;
14
+ width: 100%;
15
+ height: auto;
16
+ align-items: center;
17
+ justify-content: center;
18
+ z-index: 50;
19
+ }
20
+
21
+
22
+ .title {
23
+ position: absolute;
24
+ width: 100%;
25
+ height: 100%;
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: center;
29
+ flex-direction: column;
30
+ color: $white;
31
+ z-index: 1000;
32
+   padding: 23.5rem 4rem 28.5rem;
33
+   h1 {
34
+    font-size: 3.2rem;
35
+   }
36
+   h2 {
37
+    font-size: 2.4rem;
38
+ }
39
+ @media (min-width: 769px) { //pc
40
+ padding: 22.4rem 32.3rem 300rem;
41
+ h1: font-size: 8rem;
42
+ h2: font-size: 4.8rem;
43
+ }
44
+ }
45
+
46
+ .carousel sp {
47
+ @media (min-width: 769px) {
48
+ display: none;
49
+ }
50
+ }
51
+
52
+
53
+ .carousel pc {
54
+ @media (max-width: 768px) {
55
+ display: none;
56
+ }
57
+ }
58
+
59
+ ```