CSS标签大全

【CSS标签及样式】 CSS历史以及基础标签 阅读详情

字体属性:(font)
 大小 font-size: x-large;(特大) xx-small;(极小)一般中文用不到,只要用数值就可以,单位:PX、PD
 样式 font-style: oblique;(偏斜体) italic;(斜体)normal;(正常)
 行高 line-height: normal;(正常) 单位:PX、PD、EM
 粗细 font-weight: bold;(粗体) lighter;(细体)normal;(正常)
 变体 font-variant: small-caps;(小型大写字母)normal;(正常)
 大小写 text-transform: capitalize;(首字母大写)uppercase;(大写) lowercase;(小写) none;(无)
 修饰 text-decoration: underline;(下划线)overline;(上划线) line-through;(删除线) blink;(闪烁)

常用字体:(font-family)"Courier New",Courier, monospace, "Times New Roman", Times, serif, Arial,Helvetica, sans-serif, Verdana

背景属性:(background)
 色彩background-color: #FFFFFF;
 图片background-image: url();
 重复background-repeat: no-repeat;
 滚动background-attachment: fixed;(固定)scroll;(滚动)
 位置background-position: left(水平) top(垂直);
 简写方法 background:#000 url(..) repeat fixed lefttop;

区块属性: (Block)
 字间距letter-spacing: normal; 数值
 对刘text-align: justify;(两端对齐) left;(左对齐)right;(右对齐) center;(居中)
 缩进text-indent: 数值px;
 垂直对齐vertical-align: baseline;(基线) sub;(下标)super;(下标) top; text-top; middle; bottom; text-bottom;
 词间距word-spacing: normal; 数值
 空格white-space: pre;(保留) nowrap;(不换行)
 显示display:block;(块) inline;(内嵌) list-item;(列表项)run-in;(追加部分) compact;(紧凑) marker;(标记) table; inline-table;table-raw-group; table-header-group; table-footer-group; table-raw;table-column-group; table-column; table-cell;table-caption;(表格标题)

方框属性:(Box)
 width:; height:; float:; clear:both; margin:;padding:;    顺序:上右下左

边框属性: (Border)
 border-style: dotted(点线); dashed(虚线); solid(实线);double(双线); groove(槽线); ridge;(脊状) inset;(凹陷) outset;
 border-width:; 边框宽度
 border-color:#;
 简写方法border:width style color;

列表属性: (List-style)
 类型list-style-type:   disc;(圆点) circle;(圆圈) square;(方块) decimal;(数字) lower-roman;(小罗码数字)upper-roman; lower-alpha; upper-alpha;
 位置list-style-position: outside;(外) inside;
 图像list-style-image: url(..);

定位属性: (Position)
 Position: absolute; relative; static;
 visibility: inherit; visible; hidden;
 overflow: visible; hidden; scroll; auto;
 clip: rect(12px,auto,12px,auto) (裁切)css属性代码大全


一 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;

二、CSS边框空白
padding-top:10px;
padding-right:10px;
padding-bottom:10px;
padding-left:10px;

三、CSS符号属性:
list-style-type:none;
list-style-type:decimal;
list-style-type:lower-roman;
list-style-type:upper-roman;
list-style-type:lower-alpha;
list-style-type:upper-alpha;
list-style-type:disc;
list-style-type:circle;
list-style-type:square;
list-style-image:url(/dot.gif);
list-style-position: outside;
list-style-position:inside;

四、CSS背景样式:
background-color:#F5E2EC;  

background:transparent;
background-image : url(/image/bg.gif);
background-attachment : fixed;
background-repeat : repeat;
background-repeat : no-repeat;
background-repeat : repeat-x;
background-repeat : repeat-y;
指定背景位置
background-position : 90% 90%;
background-position : top;
background-position : buttom;
background-position : left;
background-position : right;
background-position : center;
 

五、CSS连接属性:
a
a:link  

a:visited
a:active
a:hover

鼠标光标样式:
链接手指 CURSOR: hand
十字体 cursor:crosshair
箭头朝下 cursor:s-resize
十字箭头 cursor:move
箭头朝右 cursor:move
加一问号 cursor:help
箭头朝左 cursor:w-resize
箭头朝上 cursor:n-resize
箭头朝右上 cursor:ne-resize
箭头朝左上 cursor:nw-resize
文字I型 cursor:text
箭头斜右下 cursor:se-resize
箭头斜左下 cursor:sw-resize
漏斗 cursor:wait
光标图案(IE6) 
  p{cursor:url("光标文件名.cur"),text;}

六、CSS框线一览表:
border-top : 1px solid #6699cc;
border-bottom : 1px solid #6699cc;
border-left : 1px solid #6699cc;  

border-right : 1px solid #6699cc;
以上是建议书写方式,但也可以使用常规的方式 如下:
border-top-color : #369
border-top-width :1px
border-top-style : solid
其他框线样式
solid
dotted
double
groove
ridge
inset
outset

七、CSS表单运用:
文字方块 

按钮 

复选框 

选择钮 

多行文字方块 

下拉式菜单 选项1选项2

八、CSS边界样式:
margin-top:10px;
margin-right:10px;
margin-bottom:10px;
margin-left:10px;
 

CSS 属性: 字体样式(Font Style)
序号 中文说明 标记语法
1 字体样式 {font:font-style font-variant font-weight font-sizefont-family} 

2 字体类型 {font-family:"字体1","字体2","字体3",...} 

3 字体大小 {font-size:数值|inherit| medium| large| larger| x-large|xx-large| small| smaller| x-small|xx-small} 

4 字体风格{font-style:inherit|italic|normal|oblique} 

5 字体粗细 
 {font-weight:100-900|bold|bolder|lighter|normal;} 
6 字体颜色 
  {color:数值;}
7 阴影颜色 {text-shadow:16位色值}
8 字体行高 
 {line-height:数值|inherit|normal;}
9 字 间 距 
 {letter-spacing:数值|inherit|normal}
10 单词间距 {word-spacing:数值|inherit|normal}
11 字体变形 {font-variant:inherit|normal|small-cps} 

12 英文转换{text-transform:inherit|none|capitalize|uppercase|lowercase}
13 字体变形 {font-size-adjust:inherit|none} 

14 字体{font-stretch:condensed|expanded|extra-condensed|extra-expanded|inherit|narrower|normal|semi-condensed|semi-expanded|ultra-condensed|ultra-expanded|wider} 

文本样式(Text Style)
序号 中文说明 标记语法
1 行 间 距 {line-height:数值|inherit|normal;} 

2 文本修饰{text-decoration:inherit|none|underline|overline|line-through|blink}
3 段首空格 
 {text-indent:数值|inherit}
4 水平对齐{text-align:left|right|center|justify} 

5 垂直对齐{vertical-align:inherit|top|bottom|text-top|text-bottom|baseline|middle|sub|super} 

6 书写方式 {writing-mode:lr-tb|tb-rl} 

背景样式
序号 中文说明 标记语法
1 背景颜色 {background-color:数值}
2 背景图片 {background-image: url(URL)|none}
3 背景重复{background-repeat:inherit|no-repeat|repeat|repeat-x|repeat-y}
4 背景固定 {background-attachment:fixed|scroll}
5 背景定位 {background-position:数值|top|bottom|left|right|center}
6 背影样式 {background:背景颜色|背景图象|背景重复|背景附件|背景位置}

框架样式(Box Style) 
序号 中文说明 标记语法
1 边界留白 {margin:margin-top margin-right margin-bottommargin-left}
2 补  白 {padding:padding-top padding-right padding-bottompadding-left}
3 边框宽度 {border-width:border-top-width border-right-widthborder-bottom-width border-left-width}  
宽度值: thin|medium|thick|数值
4 边框颜色 {border-color:数值 数值 数值数值}  数值:分别代表top、right、bottom、left颜色值
5 边框风格{border-style:none|hidden|inherit|dashed|solid|double|inset|outset|ridge|groove}
6 边  框 {border:border-width border-style color}
 
上 边 框 {border-top:border-top-width border-stylecolor}
 
右 边 框 {border-right:border-right-widthborder-style color}
 
下 边 框 {border-bottom:border-bottom-widthborder-style color}
 
左 边 框 {border-left:border-left-widthborder-style color}
7 宽  度 {width:长度|百分比| auto}
8 高  度 {height:数值|auto}
9 漂  浮 {float:left|right|none}
10 清  除 {clear:none|left|right|both}

分类列表
序号 中文说明 标记语法
1 控制显示 {display:none|block|inline|list-item}
2 控制空白 {white-space:normal|pre|nowarp}
3 符号列表{list-style-type:disc|circle|square|decimal|lower-roman|upper-roman|lower-alpha|upper-alpha|none}
4 图形列表 {list-style-image:URL}
5 位置列表 {list-style-position:inside|outside}
6 目录列表 {list-style:目录样式类型|目录样式位置|url}
7 鼠标形状{cursor:hand|crosshair|text|wait|move|help|e-resize|nw-resize|w-resize|s-resize|se-resize|sw-resize}

word-wrap是控制换行的。使用break-word时,是将强制换行。中文没有任何问题,英文语句也没问题。但是对于长串的英文,就不起作用。break-word是控制是否断词的。normal是默认情况,英文单词不被拆开。break-all,是断开单词。在单词到边界时,下个字母自动到下一行。主要解决了长串英文的问题。keep-all,是指Chinese,Japanese, andKorean不断词。即只用此时,不用word-wrap,中文就不会换行了。(英文语句正常。)ie下:使用word-wrap:break-word;所有的都正常。ff下:如这2个都不用的话,中文不会出任何问题。英文语句也不会出问题。但是,长串英文会出问题。为了解决长串英文,一般用word-wrap:break-word;word-break:break-all;。但是,此方式会导致,普通的英文语句中的单词会被断开(ie下也是)。目前主要的问题存在于长串英文 和 英文单词被断开。其实长串英文就是一个比较长的单词而已。即英文单词应不应该被断开那?那问题很明显了,显然不应该被断开了。对于长串英文,就是恶意的东西,自然不用去管了。但是,也要想些办法,不让它把容器撑大。用:overflow:auto;ie下,长串会自动折行。ff下,长串会被遮盖。所以,综上,最好的方式是word-wrap:break-word;overflow:hidden;而不是word-wrap:break-word;word-break:break-all;。
在innovus中通过ecoAddRepeater插入buffer/inverter 在innovus中,我们可以通过ecoAddRepeater命令来在net上添加单个buffer或者成对的inverters。ecoAddRepeater命令的行为由命令setEcoMode控制。 选项说明 -cell <list of cells> 指定插入的buffer或者inverter的类型。 -net <netName> | -term <inst1/term1 inst2/term2 ...> -net指定需要插入buffer/inverters的 阅读详情

相关推荐

【浙大翁恺】C语言习题

/* 02-0. 整数四则运算(10) 本题要求编写程序,计算2个正整数的和、差、积、商并输出。 题目保证输入和输出全部整型范围内。 输入格式: 输入在一行中给出2个正整数A和B。 输出格式: 在4行中按照格式“A 运算符 B = 结果”顺序输出和、差、积、商。 输入样例: 3 2 输出样例: 3 + 2 = 5 3 - 2 = 1 3 * 2 = 6 3 / 2 =.

qq_43600867的博客 5861

CSS常用样式

CSS常用属性集合

weixin_53988377的博客 1万+

基于51单片机+SYN6288语音播报

51单片机控制SYN6288语音播报资料SYN6288模块原理图语音合成命令接线如何接线实现原理程序代码main.csyn6288.cuart.cdelay.c基于 51单片机的其他项目基于51单片机+遥控灯基于51单片机+LCD1602显示基于51单片机+红外遥控解码+LCD1602显示基于51单片机+DHT11温湿度+LCD1602显示基于51单片机+DS18B20温度测温器+LCD1602显示尾声 资料 我用的是绿深电子技术的模块,资料也挺齐全的。也有相关例程。 SYN6288模块原理图 语音合成

weixin_47457689的博客 3万+

css样式以及常用的标签

div>标签块级元素。用于分割和布局大的内容区域。占据整行,后续元素会换行。常用作网页结构和布局的容器。<span>标签内联元素。用于局部样式和操作内联文本或其他内联元素。不会换行,多个span可以在同一行显示。适合小范围的样式应用和文本操作。两者在网页开发中都有重要的作用,<div>主要用于布局和结构化页面,而<span>主要用于细粒度的文本样式和操作。根据需要选择合适的标签可以帮助更好地组织和管理页面内容。内联样式(Inline CSS)

qq_64417283的博客 1629

智能驾驶感知模块的测试评估方法(上)

对于智能驾驶系统而言,感知模块是开发难度最大、投入资源最多的核心部分。在智能驾驶开发团队内部,感知模块需要独立进行评测才能及早发现潜在缺陷或判断性能是否有改进。随着近几年BEV、OCC、E2E等新技术方案被越来越多企业应用,感知的评测变得越来越艰难,效率也变得越来越低下。本文作者基于在智驾测试行业多年经验,试图总结感知评测的基本规律和效率提升方法,以供读者一些启发。

vincent_321的博客 2559

UR5双臂Gazebo仿真(Python)

近来在Gazebo上搭了一个ur5双臂仿真平台。 差不多就是以下这样。 使用rostopic list查看一下话题,如下 显然,采用/left_arm_controller/follow_joint_trajectory/goal和/right_arm_controller/follow_joint_trajectory/goal两个话题来控制双臂的运动。 现在的问题是,如何保证双臂运动的一致性,即如何能保证双臂能同时接受到以上两个消息。 思路一:设置/left_arm_controlle

qq_42823342的博客 2233

css常用样式标签

css常用样式标签 css 字体的设置 font-family font-size 设置字号大小 设置字体样式 font-style normal : 正常显示。浏览器默认的样式 italic :斜体显示文字 oblique : 歪斜体显示,比斜体的倾斜角度更大 font-weight 设置字体加粗 可取值为hold和normal 调整字符间距 letter-spacing 可以设置两个字符之间的间距(英文,中文,数字) 调整单词间距 word-spacing 主要用于单词之间

奥特蛋的博客 5881

Cadence OrCAD: 层次化设计 Hierarchical Design

详细介绍OrCAD的原理图层次化设计方法。

Fantasy237的博客 1万+

常用CSS样式大全(超全面)

14||字体||{font-stretch:condensed|expanded|extra-condensed|extra-expanded|inherit|narrower|normal| semi-condensed|semi-expanded|ultra-condensed|ultra-expanded|wider}5||垂直对齐||{vertical-align:inherit|top|bottom|text-top|text-bottom|baseline|middle|sub|super}

zy1992As的博客 1万+

时序SDC约束set_data_check及常见应用场景

时序约束SDC之set_data_check命令及常见应用场景解析

weixin_37584728的博客 2287

verilog实现步进电机脉冲分配器(三相六拍)基于Nexys4DDR开发板

使用Verilog HDL设计的一个能够自启动、具有正反转功能的三相六拍步进电机脉冲分配器。已经写好Nexy4DDR的管脚约束文件 可以通过Nexys4DDR开发板的PMOD接口连接步进电机进行调试。 使用verilog语言 在vivado2018.2下运行编译下载都正确,(也可在ISE,QuartusII下使用)下面是工程截图: ...

QQ_778132974的博客 2593

css标签总结大全

css标签总结大全 字体属性:(font)   大小:font-size: x-large;(特大) xx-small;(极小) 一般中文用不到,只要用数值就可以,单位:PX、PD    样式 :font-style: oblique;(偏斜体) italic;(斜体) normal;(正常)    行高 :line-height: normal;(正常) 单位:PX、PD、EM    ...

Amelia1560的博客 1万+

ATT MTU 交换机制:提升 BLE 数据传输效率的关键

在低功耗蓝牙(BLE)技术的面试中,ATT MTU 交换机制始终是高频考点。无论是芯片厂商的固件开发岗,还是物联网设备的协议栈调试岗,面试官都爱通过这个知识点考察候选人对 BLE 数据传输底层逻辑的理解。本文将系统梳理核心考点,结合历年真题详解应答思路,轻松应对这类问题。​

byte轻骑兵的技术小窝 2411

CSS 标签大全 总结

CSS 标签大全 一、字体属性:(font) 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; /文字粗

bigb的博客 856

efm32 入门.pdf

本PDF共计22页,介绍的是操作驱动API,下载与否自己斟酌。

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

CSS标签大全讲解

14 字{font-stretch:condensed|expanded|extra-condensed|extra-expanded|inherit|narrower|normal| semi-condensed|semi-expanded|ultra-condensed|ultra-expanded|wider}3 边框宽度 {border-width:border-top-width border-right-width border-bottom-width border-left-width}

qq_42412061的博客 5550

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

css标签大全

html5 常用 标签 一、主体结构 header 页面头部,不同与 aside 边栏 nav 外部链接集合 section 章节或段落 article 类似文章、摘要或留言POST等形式的记录(一般搭配内嵌头部、尾部、底部结构使用) hggroup 类似子标题,标题信息、可选标题、TAG标签这样的数据,还是英文更好理解一些,heading of a section add

有只猫七的博客 1962

Devexpress16.2.6破解工具

Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具

css属性标签大全。

CSS样式属性1、字体属性(type)font-family(使用什么字体)font-style(字体的样式,是否斜体):normal/italic/obliquefont-variant(字体大小写):normal/small-capsfont-weight(字体的粗细):no

zhouyg1992的专栏 1万+

html中css标签属性大全,HTML+CSS标签属性大全.doc

HTML+CSS标签属性大全.doc (9页) 本资源提供全文预览,点击全文预览即可全文预览,如果喜欢文档就下载吧,查找使用更方便哦!14.9 积分 .HTML CSS标签属性大全a卷标 , 属性名称 , 简介 批注 1、 跑马灯 …普通卷动 …滑动 …预设卷动 …来回卷动 …向下卷动 …向上卷动 向右卷动 向左卷动 …卷动次数 …设定宽度 …设定高度 …设定背景颜色 …设定卷动距离 …设定卷...

weixin_39789094的博客 590

html标签大全、css样式大全、DHTML参考大全(chm格式)

网页制作大全(chm格式)包括: html标签大全、css样式大全、DHTML参考大全、及各种事件等等,说明详细得不能再详细了 如果您却得好就给我好评,反之...

iteye_13834的博客 360

html与css常用标签大全

一,html+css基础 1-1 Html和CSS的关系 学习web前端开发基础技术需要掌握:HTML、CSS、JavaScript语言。下面我们就来了解下这三门技术都是用来实现什么的: 1. HTML是网页内容的载体。内容就是网页制作者放在页面上想要让用户浏览的信息,可以包含文字、图片、视频等。 2. CSS样式是表现。就像网页的外衣。比如,标题字体、颜色变化,或为标题加入背景图片、边框等。所有...

qq_42676052的博客 1万+

CSS标签属性大全

css基础语法      创建: link rel="stylesheet" type="text/css" href="mystyle.css" />     selector{    }:      id选择器:#id{ }      类别选择器: .class{}      标签选择器:  tab{} css样式 1.背景:background-color   b

u014134959的博客 2358

CSS标签大全——十分完整!!!

字体属性:(font)   大小:font-size: x-large;(特大) xx-small;(极小) 一般中文用不到,只要用数值就可以,单位:PX、PD    样式 :font-style: oblique;(偏斜体) italic;(斜体) normal;(正常)    行高 :line-height: normal;(正常) 单位:PX、PD、EM    粗细 :font-we

qq_37204849的博客 551
上一篇: HTML标签大全
下一篇: js javascript:void(0) 真正含义
HackProgramer
博客等级 码龄12年 255粉丝 23原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值