怎样用CSS +DIV将第二张特定图片覆盖第一张图片的部分区域?【点击查看详情】
用CSS +DIV将第二张特定图片覆盖第一张图片的部分区域方法。用CSS中元素的background : background-color || background-image || background-repeat || background-attachment || background-position。示例代码如下:&nbsp。复制代码代码如下:background:transparent url(123.jpg) no-repeat scroll -140px -20px;&nbsp。解释:&nbsp。transparent表示透明无颜色&nbsp。url(123.jpg) 表示背景图片&nbsp。no-repeat 表示图片不重复&nbsp。
相关视频/文章