📜  全尺寸 img - 任何代码示例

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

代码示例1
.largeartwork {
    width: 300px;
    height: 300px;
    border: 3px solid black;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}