CSS/JS:使用已知宽度和高度的图像元素模拟背景图像封面 [英]CSS/JS: mimic background-image cover using image element with known width and height
html,由于高度原因,背景图片无法重复:设置为100% [英]html, background-image fails to repeat on account of height: 100% setting
SVG中的图案图片的cssAssatioRatio,例如css背景图片封面 [英]preserveAspectRatio of pattern image in SVG like css background-image cover