CSS背景设置
来源:互联网 发布:qq农场刷金币软件 编辑:程序博客网 时间:2024/05/19 00:13
html{
height:100%;
}
body{
background-image: url(img.gif);
background-repeat: no-repeat;
background-position: top;
background-position: right;
background-position: bottom; html要设置成100% 才有效果
background-position: center;
background-position: right top;
等比例绽放
background-size: cover;
background-size: 100%;
background-size:contain;
固定背景图片
background-attachment: fixed;
background-attachment: scroll;
}
height:100%;
}
body{
background-image: url(img.gif);
background-repeat: no-repeat;
background-position: top;
background-position: right;
background-position: bottom; html要设置成100% 才有效果
background-position: center;
background-position: right top;
等比例绽放
background-size: cover;
background-size: 100%;
background-size:contain;
固定背景图片
background-attachment: fixed;
background-attachment: scroll;
}
0 0
- CSS背景设置background
- html css设置背景
- CSS 背景 backround设置
- CSS背景设置
- CSS设置背景
- css背景设置
- CSS的背景设置
- css-背景设置
- css-背景设置
- css设置标签背景
- css设置背景
- CSS设置背景——图片背景
- CSS 颜色和背景设置
- CSS 设置背景颜色渐变
- 背景半透明CSS兼容设置
- CSS:设置边框和背景
- 关于css背景位置设置
- css边框和背景设置
- IdHTTP代理设置
- linux增加虚拟内存
- .NET中DataReader与DataSet访问SqlServer数据库(C#)
- C++编程需要掌握的几类技能
- Mac OS X El Capitan 全新安装记录
- CSS背景设置
- log4j日志
- 01串排序
- jdbc,关闭连接工具类
- ArcGIS教程:样条函数法的工作原理
- Python IDLE 清屏
- Context相关的内存泄露
- [Magento SQL] 获取产品近期销售、产品类型、产品状态
- Php 删除目录