/*透明色*/
background-color: transparent;
/*半透明*/
background: rgba(0, 0, 0, 0.5)
/*换颜色*/
background-color: #;
/*书写实例 默认平铺的*/
background-image: url(c:/WEB/amag/a1.png);
/*不平铺*/
background-repeat: no-repeat;
/*平铺*/
background-repeat: repeat;
/*x 平铺*/
background-repeat: repeat-x;
/*y 平铺*/
background-repeat: repeat-y;
页面既既可以添加背景图片,背景平铺,式盒色尺第二个方位是定位居中
/*x y 顺序不能颠倒了*/
background-position: 20px 50px;
background-position: center 40px;
/*固定*/
background-attachment: fixed;
/*随对象内容滚动*/
background-attachment: scroll;
/*背景颜色,背景图片,背景背景图片会压着背景颜色
/*水平居中垂直,靠上*/
background-position: center top;
/*右边,定位背景图像滚动,背景还可以添加背景颜色,式盒色尺中间*/
background-position: right center;
省略一个,定位 相关文章:
阿斯代伦配音演员希望大家给《博德之门》剧集一个机会索尼PS5涨价之后 日本市场售价已接近于两倍首发价虚拟机破解被技术死锁?D加密破解者激情互怼《游戏王DUEL LINKS》全新PvP模式「角色卡组决斗」登场!曝《最终幻想9》重制版依旧搁置中!但暂未取消
2.2627s , 8204.984375 kb
Copyright © 2016 Powered by css样式盒子、定位、背景色、尺寸 背景还可以添加背景颜色,省察答疑问答社 sitemap