📜  如何在css代码示例中调整图像大小

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

代码示例1
A File !

/* .pdflink:after {
    content: url('/images/pdf.png')
} */

.pdflink:after {
    background-image: url('/images/pdf.png');
    background-size: 10px 20px;
    display: inline-block;
    width: 10px;
    height: 20px;
    content: "";
}