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;
/* 更改字体*/
}
/* 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;
/* 更改字体*/
}
相关文章推荐
- HTML5学习_day01(7)--css常用文本样式
- 【HTML5学习笔记】20:CSS文本样式 下
- HTML5 Canvas绘文本动画(使用CSS自定义字体)
- HTML5在input背景提示文本(placeholder)的CSS美化
- 【HTML5学习笔记】19:CSS文本样式 上
- CSS Text文本格式
- CSS 单行溢出文本显示省略号...的方法(兼容IE FF)(转)
- H5学习笔记——CSS文本设置属性&颜色表示法
- css溢出文本处理的几种方法
- css截取超出的文本+label标签的‘for’属性
- 使用CLASS属性或CSSCLASS属性来定义文本或控件显示的样式表
- HTML5学习笔记四 HTML文本格式化
- CSS实现单行、多行文本溢出显示省略号(…)
- jQuery操作属性,CSS类,HTML代码,文本,值
- 在CSS中设置文本和字体格式
- HTML5移动端开发中的Viewport标签及相关CSS用法解析
- 纯css实现文本溢出省略(兼容IE6+、FF2.0+、Opera9.26+)by Ardge
- CSS快速学习5:文本溢出和XHTML元素分类
- Html5 Canvas开发之插入图片、设置背景、渐变、文本、阴影
- css中文本换行属性word-wrap和white-space