问答详情
源自:5-4 CSS3背景 multiple backgrounds

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8">
<title>多重背景</title>
<style type="text/css">
.demo {
    width: 300px;
    height: 140px;
    border: 1px solid #999;
    background:url(http://static.mukewang.com/static/img/logo_index.png)left top / 75% 55% no-repeat, 
               url(http://static.mukewang.com/static/img/logo_index.png)
 right bottom / 50% 40%            no-repeat;
}
</style>  
</head> 
<body>
<div class="demo"></div>
</body>

提问者:奇兵解码 2014-10-30 22:56

个回答