对于CSS中 background:transparent none repeat scroll 0% 0%;的理解
来源:互联网 发布:修改手机imei软件 编辑:程序博客网 时间:2024/04/28 20:11
对于很多人对 BACKGROUND: none transparent scroll repeat 0% 0%;这样的写法是错误的
但是系统会帮你解释成下面这样。BACKGROUND:transparent none repeat scroll 0% 0%;
分别代表
背景属性:背景颜色 背景图片 背景是否重复 背景时候随浏览器滚动 背景平位置 背景垂直位置
background : background-color || background-image || background-repeat || background-attachment || background-position
transparent表示透明无颜色
none 表示没有设置背景图片
repeat 表示图片重复
scroll 表示背景图片随浏览器下拉而滚动
0%水平位置在x0
0%垂直位置在y0
这个设置是background 的默认设置 ,
也就是说 没有对background属性进行设置的时候 他就会使用这用设置。
1 0
- 对于CSS中 background:transparent none repeat scroll 0% 0%;的理解
- background: transparent url(../images/bbs_sprite.png)no-repeat 0px -1303px; IE8 兼容写法
- BACKGROUND: transparent none rep…
- HTML&CSS——background: url() no-repeat 0 -64px;CSS中背景图片定位方法
- CSS中背景图片的属性:background-repeat、background-position、background-size
- css中的background:transparent的作用
- css中的background:transparent的作用
- css 属性 background:transparent;
- 关于CSS中background样式的repeat和no-repeat的坐标问题
- CSS背景:background-repeat
- CSS background-repeat 属性
- CSS background-repeat 属性
- CSS background-repeat 属性
- CSS background-repeat属性
- CSS入门(3)-background:transparent的作用
- CSS background-repeat 属性示例
- css之background-repeat的几种属性
- background-color的默认值:transparent
- HTML特殊字符大全
- js 售磬效果
- Zynq 7000从零开始之四 -- emio的gpio操作
- .NET学习之显式实现接口
- Nginx限制IP并发数与下载速度的方法
- 对于CSS中 background:transparent none repeat scroll 0% 0%;的理解
- 2015去哪儿网春季招聘笔试题及答案
- 前端性能优化(JavaScript补充篇)
- Prefer company
- Nginx+iptables屏蔽访问Web页面过于频繁的IP(防DDOS,恶意访问,采集器)
- 关于八方向的迷宫问题
- 其实 程序猿们都是一群逗逼
- linux shell 命令获取字符串/文件的MD5值
- POJ 3254 - Corn Fields [状压DP]