背景图片拉伸显示CSS

.divbackimg{  
    width:150px;  
    height:50px;  
    background-image:url(./btn.png);  
    -moz-background-size: 100% 100%;  
    -o-background-size: 100% 100%;  
    -webkit-background-size: 100% 100%;  
    background-size: 100% 100%;  
    -moz-border-image: url(./btn.png) 0;  
    background-repeat:no-repeat\9;  
    background-image:none\9;  
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='./btn.png', sizingMethod='scale')\9;  
}  

 

posted @ 2015-01-09 10:15  stevejson  阅读(215)  评论(0编辑  收藏  举报