📜  css img src - CSS 代码示例

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

代码示例1
#divID {
    background-image: url("http://imageurlhere.com");
    background-repeat: no-repeat;
    width: auto; /*or your image's width*/
    height: auto; /*or your image's height*/
    margin: 0;
    padding: 0;
}