質問編集履歴

1

resetCSSコードの追加

2020/12/16 06:34

投稿

syo--
syo--

スコア28

test CHANGED
File without changes
test CHANGED
@@ -102,6 +102,182 @@
102
102
 
103
103
  .clear{clear: both;}
104
104
 
105
-
106
-
107
105
  ```
106
+
107
+ ```resetCSS
108
+
109
+ /**
110
+
111
+ * html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/)
112
+
113
+ * Richard Clark (http://richclarkdesign.com)
114
+
115
+ * http://cssreset.com
116
+
117
+ */
118
+
119
+ html, body, div, span, object, iframe,
120
+
121
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
122
+
123
+ abbr, address, cite, code,
124
+
125
+ del, dfn, em, img, ins, kbd, q, samp,
126
+
127
+ small, strong, sub, sup, var,
128
+
129
+ b, i,
130
+
131
+ dl, dt, dd, ol, ul, li,
132
+
133
+ fieldset, form, label, legend,
134
+
135
+ table, caption, tbody, tfoot, thead, tr, th, td,
136
+
137
+ article, aside, canvas, details, figcaption, figure,
138
+
139
+ footer, header, hgroup, menu, nav, section, summary,
140
+
141
+ time, mark, audio, video {
142
+
143
+ margin:0;
144
+
145
+ padding:0;
146
+
147
+ border:0;
148
+
149
+ outline:0;
150
+
151
+ font-size:100%;
152
+
153
+ vertical-align:baseline;
154
+
155
+ background:transparent;
156
+
157
+ }
158
+
159
+ body {
160
+
161
+ line-height:1;
162
+
163
+ }
164
+
165
+ article,aside,details,figcaption,figure,
166
+
167
+ footer,header,hgroup,menu,nav,section {
168
+
169
+ display:block;
170
+
171
+ }
172
+
173
+ nav ul {
174
+
175
+ list-style:none;
176
+
177
+ }
178
+
179
+ blockquote, q {
180
+
181
+ quotes:none;
182
+
183
+ }
184
+
185
+ blockquote:before, blockquote:after,
186
+
187
+ q:before, q:after {
188
+
189
+ content:'';
190
+
191
+ content:none;
192
+
193
+ }
194
+
195
+ a {
196
+
197
+ margin:0;
198
+
199
+ padding:0;
200
+
201
+ font-size:100%;
202
+
203
+ vertical-align:baseline;
204
+
205
+ background:transparent;
206
+
207
+ }
208
+
209
+ /* change colours to suit your needs */
210
+
211
+ ins {
212
+
213
+ background-color:#ff9;
214
+
215
+ color:#000;
216
+
217
+ text-decoration:none;
218
+
219
+ }
220
+
221
+ /* change colours to suit your needs */
222
+
223
+ mark {
224
+
225
+ background-color:#ff9;
226
+
227
+ color:#000;
228
+
229
+ font-style:italic;
230
+
231
+ font-weight:bold;
232
+
233
+ }
234
+
235
+ del {
236
+
237
+ text-decoration: line-through;
238
+
239
+ }
240
+
241
+ abbr[title], dfn[title] {
242
+
243
+ border-bottom:1px dotted;
244
+
245
+ cursor:help;
246
+
247
+ }
248
+
249
+ table {
250
+
251
+ border-collapse:collapse;
252
+
253
+ border-spacing:0;
254
+
255
+ }
256
+
257
+ /* change border colour to suit your needs */
258
+
259
+ hr {
260
+
261
+ display:block;
262
+
263
+ height:1px;
264
+
265
+ border:0;
266
+
267
+ border-top:1px solid #cccccc;
268
+
269
+ margin:1em 0;
270
+
271
+ padding:0;
272
+
273
+ }
274
+
275
+ input, select {
276
+
277
+ vertical-align:middle;
278
+
279
+ }
280
+
281
+
282
+
283
+ ```