📜  以特定大小的 hack 下载图像 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:20.300000             🧑  作者: Mango

代码示例1
.with-bg-size { background-image: url('https://img1.jurko.net/wall/paper/donald_duck_4.jpg'); width: 200px; height: 100px; background-position: center; /* Make the background image cover the area of the 
, and clip the excess */ background-size: cover; }