📜  在 CSS 代码示例中设置 png 图标的大小

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

代码示例1
.pnx-msg-icon .pnx-icon-msg-warning{
background-image: url("../pics/edit.png");
background-repeat: no-repeat;
background-size: 10px;
width: 10px;
height: 10px;
cursor: pointer;
}