专题文章
时长:00:00更新时间:2024-10-24 21:19:33
用CSS +DIV将第二张特定图片覆盖第一张图片的部分区域方法。用CSS中元素的background : background-color || background-image || background-repeat || background-attachment || background-position。示例代码如下: 。复制代码代码如下:background:transparent url(123.jpg) no-repeat scroll -140px -20px; 。解释: 。transparent表示透明无颜色 。url(123.jpg) 表示背景图片 。no-repeat 表示图片不重复 。
查看详情