- 链接地址:https://blog.csdn.net/HAC_SOUL/article/details/115834413
- 链接标题:Web前端开发笔记18——背景_web前端项目背景-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:2928
1.背景颜色:background-color属性,其值如果是transparent即为透明,也可以手动指定背景颜色为其它。<style> div{ width: 200px; height: 200px; background-color: darkgray; } </style>2.背景图片:background-image属性,设置背景图片。语法:background-image:none|url3._web前端项目背景
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除
标签:web前端项目背景