在你复制之前,我已经阅读了关于这个主题的其他帖子,但我的代码略有不同,我找不到一个回答我的方式。
<div id="appB" class="containerB">
<div class="col-lg-6 col-md-12 order-first res-m-bttm-lg">
<card data-image="https://www.worldatlas.com/r/w728-h425-c728x425/upload/23/08/01/shutterstock-104644850.jpg">
<h1 slot="header">Spain</h1>
<p slot="content">Bet On Spain's Team playing against Portugal.</p>
<p slot="content">ETj9Qy3r5DyXw87qEHyp5gXhruFMuicEUR</p>
</card>
</div>
</div>
CSS:
.containerB {
padding: 40px 80px;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
其他CSS:CSS Code (pastebin)
链接到第三方网站,因为javascript很长并且看起来很糟糕并且会很拥挤。
这就是我设置卡片背景的方式,但出于某种原因,它偏离中心,出于某种原因,它会展示一些空白区域。
如果有人能解释一个解决方案,那将非常有帮助。
答案 0 :(得分:1)
试试此代码
highres3dnet_brain_parcellation_model_zoo -- data: OK.
Downloaded data to /home/hhh/niftynet/data/OASIS
Traceback (most recent call last):
File "/usr/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/usr/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/usr/lib/python3.6/http/client.py", line 1392, in connect
super().connect()
File "/usr/lib/python3.6/http/client.py", line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
BlockingIOError: [Errno 11] Resource temporarily unavailable