标签:color ros div html head transform meta idt lang
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<style>
.nihao {
width: 100px;
height: 150px;
border: 1px solid red;
background: url(‘/yundiudiu/pub/img/gege.jpg‘) no-repeat;
-webkit-background-size: 100%;
-moz-background-size: 100%;
-o-background-size: 100%;
background-size: 100%;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( src=‘/yundiudiu/pub/img/gege.jpg‘, sizingMethod=‘scale‘);
-ms-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( src=‘/yundiudiu/pub/img/gege.jpg‘, sizingMethod=‘scale‘);}
</style>
<div class="nihao"></div>
</body>
</html>
滤镜这一块的,很严格
标签:color ros div html head transform meta idt lang
原文地址:http://www.cnblogs.com/console-log/p/7238841.html