码迷,mamicode.com
首页 > Web开发 > 详细

html5-css背景

时间:2017-10-24 22:30:00      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:html5   ges   contain   nta   size   chm   idt   repeat-x   clip   

div{
    width: 300px;
    height: 300px;
    border:50px groove rgba(200,60,30,0.5);
    /*background-color: red;*/
    /*background-image: url(../imges/ss.png);
    background-repeat: repeat;*/
    /*background-repeat: no-repeat;
    background-repeat: repeat-x;
    background-repeat: repeat-y;
    background: green url(../imges/ss.png) repeat-x;*/
    background: green url(../imges/qq.png) no-repeat;
    /*background-position: center;
    background-position: right bottom;
    background-position: 30%;
background-position: 30% 70%;*/
/*background-position: 20px 150px;*/
/*background-attachment: fixed;*/
/*background-attachment: scroll;*/
/*background-size: 80px;
background-size: 101%;*/
/*background-size: cover;
background-size: contain;*/
background-origin: border-box;
/*background-origin: content-box;
background-origin: padding-box;*/
/*background-clip: border-box;
background-clip: padding-box;*/
background-clip: content-box;
}

html5-css背景

标签:html5   ges   contain   nta   size   chm   idt   repeat-x   clip   

原文地址:http://www.cnblogs.com/houweidong/p/7725598.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!