您的位置:首页 > Web前端 > HTML5

html5 css 文本

2015-05-11 15:48 316 查看
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;
/* 全部大写*/
font-family: inherit;

/* 更改字体*/
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: