質問編集履歴

1

コードを追記しました。

2021/02/03 04:39

投稿

sprMarry
sprMarry

スコア6

test CHANGED
File without changes
test CHANGED
@@ -35,3 +35,159 @@
35
35
 
36
36
 
37
37
  わかる方いましたら、お願い致します。
38
+
39
+
40
+
41
+ ```html
42
+
43
+ <!DOCTYPE html>
44
+
45
+ <html lang="ja">
46
+
47
+ <head>
48
+
49
+ <meta charset="UTF-8">
50
+
51
+ <link rel="stylesheet" href="css/slick.css">
52
+
53
+ <link rel="stylesheet" href="css/style.css">
54
+
55
+ <title>Document</title>
56
+
57
+ </head>
58
+
59
+ <body>
60
+
61
+ <ul class="slide">
62
+
63
+ <li class="full"><div><img src="img/main_slide1.png"></div></li>
64
+
65
+ <li class="half"><div><img src="img/main_slide2_1.png"></div><div><img src="img/main_slide2_2.png"></div></li>
66
+
67
+ <li class="full"><div><img src="img/main_slide3.png"></div></li>
68
+
69
+ <li class="half"><div><img src="img/main_slide4_1.png"></div><div><img src="img/main_slide4_2.png"></div></li>
70
+
71
+ </ul>
72
+
73
+ <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
74
+
75
+ <script src="js/slick.min.js"></script>
76
+
77
+ <script src="js/script.js"></script>
78
+
79
+ </body>
80
+
81
+ </html>```
82
+
83
+ ```
84
+
85
+ ```css
86
+
87
+ *{
88
+
89
+ box-sizing: border-box;
90
+
91
+ font-size: 16px;
92
+
93
+ font-weight: normal;
94
+
95
+ padding: 0;
96
+
97
+ margin: 0;
98
+
99
+ }
100
+
101
+ img{
102
+
103
+ display: block;
104
+
105
+ width: 100%;
106
+
107
+ }
108
+
109
+ a{
110
+
111
+ text-decoration: none;
112
+
113
+ }
114
+
115
+ li{
116
+
117
+ list-style-type: none;
118
+
119
+ }
120
+
121
+
122
+
123
+ .slide{
124
+
125
+ width: 50rem;
126
+
127
+ margin: 0 auto;
128
+
129
+ }
130
+
131
+ .slide .half{
132
+
133
+ display: flex;
134
+
135
+ }```
136
+
137
+ ```
138
+
139
+ ```js
140
+
141
+ /* common */
142
+
143
+ *{
144
+
145
+ box-sizing: border-box;
146
+
147
+ font-size: 16px;
148
+
149
+ font-weight: normal;
150
+
151
+ padding: 0;
152
+
153
+ margin: 0;
154
+
155
+ }
156
+
157
+ img{
158
+
159
+ display: block;
160
+
161
+ width: 100%;
162
+
163
+ }
164
+
165
+ a{
166
+
167
+ text-decoration: none;
168
+
169
+ }
170
+
171
+ li{
172
+
173
+ list-style-type: none;
174
+
175
+ }
176
+
177
+
178
+
179
+ .slide{
180
+
181
+ width: 50rem;
182
+
183
+ margin: 0 auto;
184
+
185
+ }
186
+
187
+ .slide .half{
188
+
189
+ display: flex;
190
+
191
+ }
192
+
193
+ ```