background-attachment: fixed;
来源:互联网 发布:淘宝什么是千人千面 编辑:程序博客网 时间:2024/05/27 20:52
html
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href="./css/style.css"></head><body> <section></section> <section></section> <section></section> <section></section> <section class="item"></section> <section></section> <section class="item_2"></section> <section></section> <section></section> <section></section> <section></section></body></html>
css
section { height: 300px; width: 800px; margin: 0 auto; border: 1px solid #dedede; margin-bottom: 100px;}.item { background: url(../images/img6.jpg) no-repeat center; background-size: center; background-attachment: fixed;}.item_2 { background: url(../images/img5.jpg) no-repeat center; background-size: center; background-attachment: fixed;}
img5
img6
阅读全文
0 0
- background-attachment: fixed;
- 用background-attachment:fixed做动画效果
- background-attachment:fixed在ios中失效
- background-attachment:fixed实现背景固定的效果
- background-attachment
- background-attachment
- background-attachment
- background-attachment
- background-attachment
- background-attachment
- ios系统和某些移动端background-attachment:fixed不兼容性
- ios系统和某些移动端background-attachment:fixed不兼容性
- CSS背景:background-attachment
- CSS background-attachment 属性
- CSS ----- background-attachment
- background-attachment 网页背景固定
- 背景附件 background-attachment
- CSS3 background-attachment:属性
- MySQL函数
- 第一个Java程序(HelloWorld)的编写
- 网页js获取视频帧图片
- Activiti系列(一)——最简单的Activiti程序
- 光电隔离RS485典型电路
- background-attachment: fixed;
- 设置C++崩溃时生成Dump文件
- Divide_Two_Integers(低时间复杂度版)
- android 仿微信右滑返回
- Python 判断密码等级的强弱,不使用正则表达式
- ASP.NET-Request对象
- 解决在thinkPhP中加载css和js的问题
- 卷积神经网络CNN
- XML基本语法