質問編集履歴

2

CSS再度追記しました

2019/02/21 03:07

投稿

maakun
maakun

スコア22

test CHANGED
File without changes
test CHANGED
@@ -124,6 +124,26 @@
124
124
 
125
125
  ```css
126
126
 
127
+ * {
128
+
129
+ margin: 0;
130
+
131
+ padding: 0;
132
+
133
+ }
134
+
135
+ table {
136
+
137
+ border-collapse: collapse;
138
+
139
+ border-spacing: 0;
140
+
141
+ }
142
+
143
+
144
+
145
+ border
146
+
127
147
  table {
128
148
 
129
149
  display: inline-block;

1

コンパイル後のCSSを追記しました。

2019/02/21 03:07

投稿

maakun
maakun

スコア22

test CHANGED
File without changes
test CHANGED
@@ -117,3 +117,63 @@
117
117
  }
118
118
 
119
119
  ```
120
+
121
+ 申し訳ありません。
122
+
123
+ 以下、コンパイル後のcssのコードになります。
124
+
125
+ ```css
126
+
127
+ table {
128
+
129
+ display: inline-block;
130
+
131
+ border: 1px solid #000;
132
+
133
+ border-radius: 5px;
134
+
135
+ }
136
+
137
+ table tr:nth-of-type(1)
138
+
139
+ td {
140
+
141
+ text-align: center;
142
+
143
+ }
144
+
145
+ table tr:nth-of-type(1)
146
+
147
+ td:nth-of-type(1) {
148
+
149
+ border-right: 1px solid #000;
150
+
151
+ }
152
+
153
+ table tr:nth-of-type(1)
154
+
155
+ td:nth-of-type(2) {
156
+
157
+ font-size: 3.5rem;
158
+
159
+ font-weight: bold;
160
+
161
+ padding: 0;
162
+
163
+ }
164
+
165
+ table tr:nth-of-type(2) td {
166
+
167
+ color: #fff;
168
+
169
+ background-color: #000;
170
+
171
+ padding: 1.0rem;
172
+
173
+ font-weight: bold;
174
+
175
+ text-align: center;
176
+
177
+ }
178
+
179
+ ```