首页 > Web开发 > 详细

html5 css 文本

时间:2015-05-11 16:02:00      阅读:218      评论:0      收藏:0      [点我收藏+]


body{
/* background-attachment: fixed;*/
/* 背景图片是否固定或者随着页面的其余部分滚动*/
/* background-image;*/
/* 背景图片*/
/* background-position: bottom;*/
/* 设置背景图片的起始点*/
/* background-repeat: no-repeat;*/
/* 设置背景图片是否重复*/
background-color: gray;

background-image: url(picture.jpg);
background-repeat: no-repeat;
/* 是否重复*/
/* background-position: center top;*/
/* 第一个 从我的页面哪里显示 从哪里开始显示*/
background-attachment: fixed;
/* 是否滚动 fixed不滚动*/
/* background-attachment: local;*/
/* background-attachment: scroll;*/
/* background-attachment: inherit;*/

background-size: 100% 100%;
/* 规定背景图片的尺寸*/
background-origin: 110px 100px;

background-clip: border-box;


}
h4{
/* text-indent: 1em; */
text-shadow: 5px 5px 5px red;
/* 阴影效果 据左边 据上方 清晰度 颜色 */
width: 100px;
text-wrap:normal;

}
p{
width: 150px;
text-wrap:normal;
/* 每行150px 自动换行*/
}
a{
/* width: 100px;*/
padding: 2px;
/* background-image: url(picture.jpg);*/
/* 内边距*/
background-color: yellow;
text-align: center;


text-transform: capitalize;
/* 首字大写*/
text-transform: lowercase;
/* 全部小写;*/
text-transform: uppercase;
/* 全部大写*/

}

html5 css 文本

原文:http://www.cnblogs.com/xiezefeng/p/4494779.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!