css怎么让两个背景重合


当前第2页 返回上一页

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<style type="text/css">

body {

background-image: url(https://image.flaticon.com/icons/svg/748/748122.svg), url(https://images.unsplash.com/photo-1478719059408-592965723cbc?ixlib=rb-1.2.1&auto=format&fit=crop&w=2212&q=80);

background-position: center, top;

background-repeat: repeat, no-repeat;

background-size: contain, cover;

}

</style>

</head>

<body>

<!--   Your content here -->

</body>

</html>

效果图:

307ff30d5cb1af7e2ab321c8491f073.png

以上就是css怎么让两个背景重合的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

css文件怎么引入

html行内样式字号怎么写

css中什么是块元素

css径向渐变怎么用

css两个冒号什么意思

css怎么改变div字体颜色

css滚动条颜色怎么设置

css怎么设置首行缩进2字符

css行元素跟块元素有哪些相同点

css如何设置行距

更多相关阅读请进入《css》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...