background 背景(集合样式)
来源:互联网 发布:超星尔雅网络课程破解 编辑:程序博客网 时间:2024/06/10 04:42
background 背景(集合样式)
background-color 背景颜色
background-image 背景图片 (添加路径 url())
同一个元素可以拥有多个背景,用逗号分开,先写的背景在上面
background-repeat 背景图片平铺方式
no-repeat(不平铺)
repeat(平铺)
repeat-x (水平平铺)
repeat-y (纵向平铺)
background-postion 背景定位
关键字
x:left center right
y:top center bottom
数值
x:10px/20% (像素大小/百分比)
y:10px/20%
background-attachment:fixed 固定图片不动
background-origin 背景图位置
border-box (在外边框)
padding-box (默认)
content-box (在内边框)
background-clip 背景裁切
-webkit-text (文字背景,只限谷歌)
border-box (默认)
padding-box(在外边框)
content-box (在内边框)
background-size 背景图大小(!!!手机端不建议使用)
等比放大:contain(包含)
cover (覆盖)
- background 背景(集合样式)
- HTML5基础加强css样式篇(文本裁剪,背景裁剪:background-origin,background-position,background-clip)(三十七)
- Eclipse Background (背景)设置
- 渐变背景(background)效果
- Html 中的背景(background)
- CSS(3) Background(背景)
- CSS入门之背景样式实例,背景图滚动:background-attachment,background复合样式
- 背景background
- background背景
- background背景
- css手册(一)Background 背景
- android ui 修改应用背景(background)
- 12.(初级)CSS背景background
- 从零开始前端学习[9]:css中的背景样式background的使用
- css背景属性 Background
- div css background背景
- CSS背景:background-attachment
- CSS中背景background
- Maven配置文件pom.xml详解
- R-FCN每秒30帧实时检测3000类物体,马里兰大学Larry Davis组最新目标检测工作
- redis info 命令查看redis使用情况
- 导数执行的语句
- [App] MongoDB 主主配置
- background 背景(集合样式)
- 例题9-2 巴比伦塔(The Tower of Babylon, UVa 437)
- 时间date
- Tutk P2P的原理和常见的实现方式
- js调用exe可执行文件(IE8)
- python
- java 下载文件名乱码问题
- ArrayList下的clear 和 removeAll
- 九九乘法表