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

質問編集履歴

1

追記しました

2020/11/29 20:08

投稿

let
let

スコア41

title CHANGED
File without changes
body CHANGED
@@ -113,4 +113,101 @@
113
113
  text-align: center;
114
114
  bottom: 0;
115
115
  }
116
+ ```
117
+
118
+ ```reset.CSS
119
+ html, body, div, span, object, iframe,
120
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
121
+ abbr, address, cite, code,
122
+ del, dfn, em, img, ins, kbd, q, samp,
123
+ small, strong, sub, sup, var,
124
+ b, i,
125
+ dl, dt, dd, ol, ul, li,
126
+ fieldset, form, label, legend,
127
+ table, caption, tbody, tfoot, thead, tr, th, td,
128
+ article, aside, canvas, details, figcaption, figure,
129
+ footer, header, hgroup, menu, nav, section, summary,
130
+ time, mark, audio, video {
131
+ margin:0;
132
+ padding:0;
133
+ border:0;
134
+ outline:0;
135
+ font-size:100%;
136
+ vertical-align:baseline;
137
+ background:transparent;
138
+ }
139
+
140
+ body {
141
+ line-height:1;
142
+ }
143
+
144
+ article,aside,details,figcaption,figure,
145
+ footer,header,hgroup,menu,nav,section {
146
+ display:block;
147
+ }
148
+
149
+ nav ul {
150
+ list-style:none;
151
+ }
152
+
153
+ blockquote, q {
154
+ quotes:none;
155
+ }
156
+
157
+ blockquote:before, blockquote:after,
158
+ q:before, q:after {
159
+ content:'';
160
+ content:none;
161
+ }
162
+
163
+ a {
164
+ margin:0;
165
+ padding:0;
166
+ font-size:100%;
167
+ vertical-align:baseline;
168
+ background:transparent;
169
+ }
170
+
171
+ /* change colours to suit your needs */
172
+ ins {
173
+ background-color:#ff9;
174
+ color:#000;
175
+ text-decoration:none;
176
+ }
177
+
178
+ /* change colours to suit your needs */
179
+ mark {
180
+ background-color:#ff9;
181
+ color:#000;
182
+ font-style:italic;
183
+ font-weight:bold;
184
+ }
185
+
186
+ del {
187
+ text-decoration: line-through;
188
+ }
189
+
190
+ abbr[title], dfn[title] {
191
+ border-bottom:1px dotted;
192
+ cursor:help;
193
+ }
194
+
195
+ table {
196
+ border-collapse:collapse;
197
+ border-spacing:0;
198
+ }
199
+
200
+ /* change border colour to suit your needs */
201
+ hr {
202
+ display:block;
203
+ height:1px;
204
+ border:0;
205
+ border-top:1px solid #cccccc;
206
+ margin:1em 0;
207
+ padding:0;
208
+ }
209
+
210
+ input, select {
211
+ vertical-align:middle;
212
+ }
116
213
  ```