移动设备部分不支持background—size解决办法
来源:互联网 发布:淘宝营销词 编辑:程序博客网 时间:2024/06/07 00:07
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta content="telephone=no" name="format-detection">
<title>移动设备部分不支持background—size解决办法</title>
<style>
body,div.img{padding:0;margin:0;}
</style>
</head>
<body>
<div id="Layer1" style="position: absolute; width: 100%; height: 100%; z-index: -2; top: 0px;">
<img src="images/download_bg.png" style="height:100%; width:100%;" />
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta content="telephone=no" name="format-detection">
<title>移动设备部分不支持background—size解决办法</title>
<style>
#Layer2 {
background-image: url('images/bg_1.png');
background-size: cover;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( src='images/bg_1.png', sizingMethod='scale');
}
</style>
</head>
<body id="Layer2">
<h2>移动设备优先</h2>
</body>
</html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta content="telephone=no" name="format-detection">
<title>移动设备部分不支持background—size解决办法</title>
<style>
#Layer2 {
background-image: url('images/bg_1.png');
background-size: cover;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( src='images/bg_1.png', sizingMethod='scale');
}
</style>
</head>
<body id="Layer2">
<h2>移动设备优先</h2>
</body>
</html>
0 0
- 移动设备部分不支持background—size解决办法
- css3 background-size:cover IE8不支持 解决办法
- 解决IE浏览器部分版本不支持background-size属性问题
- IE浏览器部分版本不支持background-size属性问题
- IE浏览器部分版本不支持background-size属性问题
- background-size : ie7,8不支持
- 移动设备safari不支持jquery的live绑定的解决办法
- 移动设备safari不支持jquery的live绑定的解决办法
- background-size:cover背景重复解决办法
- background-size
- background-size
- background-size
- background-size布局和移动端图片的等比缩放
- HTML&CSS——CSS3 Background-size
- Firefox、Opera 不支持 background-position-x, background-position-y 的解决办法
- background-size:cover与-webkit-background-size
- 【CSS3】---background-origin background-clip background-size
- CSS3 background-size属性
- [C++学习笔记]--函数指针
- UVA1586 Molar mass
- iOS7 UI改变总结
- 程序运行对象加载流程
- 谁能帮帮我弄这个php。。。。。
- 移动设备部分不支持background—size解决办法
- 煎饼侠迅雷高清完整下载
- FZU2150,暴力广搜
- 各个iframe内获取值,互相调用方法测试
- 对 malloc free ,new,delete 的思考与探索——1
- 含有通配符的字符串匹配
- Bulk Load-HBase数据导入最佳实践
- SpringMVC+Hibernate+Spring 简单的一个整合实例
- HTML基本元素了解