你的位置:首页 > 软件开发 > 网页设计 > CSS常见英语单词属性一览

CSS常见英语单词属性一览

发布时间:2017-08-21 00:00:12
这些是css中常会用到的一些英文单词,大家可以多看看,多使用就会容易记得了。color : #999999; /*文字颜色*/ font-family : 宋体,sans-serif; /*文字字体*/ font-size : 9pt; /*文字大小*/ fon ...

这些是css中常会用到的一些英文单词,大家可以多看看,多使用就会容易记得了。

color : #999999; /*文字颜色*/  

font-family : 宋体,sans-serif; /*文字字体*/  

font-size : 9pt; /*文字大小*/  

font-style:itelic; /*文字斜体*/  

font-variant:small-caps; /*小字体*/  

letter-spacing : 1pt; /*字间距离*/  

line-height : 200%; /*设置行高*/  

font-weight:bold; /*文字粗体*/  

vertical-align:sub; /*下标字*/  

vertical-align:super; /*上标字*/  

text-decoration:line-through; /*加删除线*/  

text-decoration: overline; /*加顶线*/  

text-decoration:underline; /*加下划线*/  

text-decoration:none; /*删除链接下划线*/  

text-transform : capitalize; /*首字大写*/  

text-transform : uppercase; /*英文大写*/  

text-transform : lowercase; /*英文小写*/  

text-align:right; /*文字右对齐*/  

text-align:left; /*文字左对齐*/  

text-align:center; /*文字居中对齐*/  

text-align:justify; /*文字分散对齐*/  

vertical-align属性  

vertical-align:top; /*垂直向上对齐*/  

vertical-align:bottom; /*垂直向下对齐*/  

vertical-align:middle; /*垂直居中对齐*/  

vertical-align:text-top; /*文字垂直向上对齐*/  

vertical-align:text-bottom; /*文字垂直向下对齐*/

accesskey

规定激活元素的快捷键。

class

规定元素的一个或多个类名(引用样式表中的类)。

contenteditable

规定元素内容是否可编辑。

contextmenu

规定元素的上下文菜单。上下文菜单在用户点击元素时显示。

data-*

用于存储页面或应用程序的私有定制数据。

dir

规定元素中内容的文本方向。

draggable

规定元素是否可拖动。

dropzone

规定在拖动被拖动数据时是否进行复制、移动或链接。

hidden

规定元素仍未或不再相关。

id

规定元素的唯一 id。

lang

规定元素内容的语言。

spellcheck

规定是否对元素进行拼写和语法检查。

style

规定元素的行内 CSS 样式。

tabindex

规定元素的 tab 键次序。

title

规定有关元素的额外信息。

translate

规定是否应该翻译元素内容。

 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:CSS常见英语单词属性一览

关键词:CSS

CSS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。