样式css属性样式大全(CSS property style Daquan)

css样式大全  时间:2021-01-04  阅读:()

css属性样式大全CSS property style Daquan

Font properties: (font)

Size {font-si ze: X-LARGE; } (extra large) XX-Small ; (minimum)general Chinese can not be used, as long as the value can be,units: PX, PD

Style {font-style: oblique; } (partial italic) Italic; (italic)normal; (normal)

Line height {line-height: normal; } (normal) units: PX, PD, EM The thickness of {font-weight: bold; lighter; } (BOLD) (Figure normal) ; (normal)

Variant {font-variant: small-caps; } (small capitalization)normal; (normal)

Case {text-transform: capitalize; } (initial uppercase)uppercase; (uppercase) lowercase; (lower case) none; (no)Modify {text-decoration: underline; } (underline) overline;(line up) line-through; (delete line) blink; (blinking)Commonly used fonts: (font-family)

"Courier, New", Cour ier, monospace, Times, New, Roman, Times,serif, Arial, Helvetica, sans-serif, Verdana

Background properties: (background)

Color {background-color: #FFFFFF; }

Picture {background-image: URL () }

Repeat {background-repeat: no-repeat; }

Scroll {background-attachment: fixed; } (fixed) scroll;(scroll)

Position {background-position: left; } (horizontal) top (vertical) ;

{background:#000 URL (. . ) -repeat fixed left top; } /*--this code often appears in reading, to study seriously.

Block attribute: (Block) /* this property first met, to a lot of research.

Word spacing {letter-spacing: normal ; } / * the numerical properties appear to be useful, more practice.

Align {text-align: justify; } (both ends aligned) left; (left aligned) right; (right aligned) center; (centered)

Indent {text-indent: value PX; }

Vertically aligned {vertical-align: baseline; } (baseline) sub;(subscript) super; (subscript) top; text-top; middle; bottom;text-bottom;

Word spacing word-spacing: , normal ; numerical value

Space white-space: pre; (reserved) nowrap; (no line feed){display:block; } (block) inline (embedded) ; list-item; run-in;(list) (addit ional) compact (compact) ; marker; table;inline-table (marker) ; table-raw-group; table-header-group;table-footer-group; table-raw; table-column-group;table-column; table-cell; table-caption; (table title)/*display attribute understanding is very fuzzy * /

Box properties: (Box)

Width: ; height: ; float: ; clear:both; padding: ;margin: ; order:right, left, left

Border properties: (Border)

Border-style: dotted; (dot line) dashed; (dotted line) solid;double; (double line) groove; (slot line) ridge; (ridged) inset;(SAG) outs et;

Border-width: ; border width

Border-color:#;

Border:width style - color; / * * / -

List properties: (List-style)

Type list-style-type: disc; (DOT) circle; (circle) square;(Fang Kuai) decimal; (number) lower-roman; (Ronaldinho number)

upper-roman; lower-alpha; upper-alpha;

Location list-style-position: outside; (external) inside;Image list-style-image: , URL (. . . ) ;

Location attributes: (Position)

Position: absolute; relative; static;

Visibility: inherit; visible; hidden;

Overflow: visible; hidden; scroll; auto;

Clip: , Rect (12px, auto, 12px, auto) (cut)

CSS property code Guinness

One CSS text property:

Color: #999999; / * * / text color

Font-family: Arial, sans-serif; / * * / text font

Font-size: 9pt; / * * / text size

Font-style:itelic; / * * / italic text

Font-variant:small-caps; / * * / small font

LETTER-SPACING: 1pt; / * * / distance between words

Line-height: 200%; / * * / set the row

Font-weight:bold; / * * / bold text

Vertical-align:sub; / * * / word.

Vertical-align:super; / * * /word.

Text-decoration: line-through; / * * / strikethrough

Text-decoration: overline; / * and * / top line

Text-decoration:underl ine; / * * / underline

Text-decoration:none; / * * / delete link underline

Text-transform: capitalize; / ** / first character uppercase Text-transform: uppercase; / * * / English capital

Text-transform: lowercase; / * * / Engl ish.

Text-align:right; / * * / right aligned text

Text-align:left; / * * / left aligned text

Text-align:center; / * * / text alignment

Text-align:justify; / * * / distributed text

Vertical-align property

Vertical-align:top; / * * / vertical alignment

Vertical-align:bottom; / * * / vertical alignment

Vertical-align:middle; / * * / vertical alignment

Vertical-align:text-top; / * * / vertical text alignment Vertical-align:text-bottom; / * * / text vertically aligned Two, CSS border blank

Padding-top:10px; / * * / top left blank

Padding-right:10px; / * * / leave blank right border Padding-bottom:10px; / * * / bottom left blank

Padding-left: 10px; / * left border left blank

Three and CSS symbol attributes:

List-style-type:none; / * * / not No.

List-style-type:decimal; / * * / digital Arabia

List-style-type: lower-roman; / * * / lowercase digital Rome List-style-type:upper-roman; / * * / digital capital Rome

List-style-type: lower-alpha; /**/English lowercase letters List-style-type:upper-alpha; /**/English uppercase letters List-style-type:disc; / * * / solid circular symbols

List-style-type:circle; / * * / hollow circular symbols List-style-type:square; / * * / solid square symbol

List-style-image:url (/dot.gif) ; / * * / picture symbols List-style-position: outside; / * * / outdent

List-style-position:inside; / * * / indent

Four and CSS background styles:

Background-color:#F5E2EC; / * * / background color

Background:transparent; / * * / background Perspective Background-image: URL (/image/bg.gif) ; / * * / background picture

Background-attachment: fixed; / * * / f ixed watermark background

Background-repeat: repeat; / * * / - "default repeat array

Background-repeat: no-repeat; / * * / permutation without repetition

Background-repeat: repeat-x; / * * / arranged on the X axis repeat

Background-repeat: repeat-y; / * * / arranged on the Y axis repeat

Specify the background location

Background-position 90%: 90%; /* position background picture X and Y axis

Background-position: top; / * * / to align

Background-posit ion: buttom; / * * / down alignment

Background-position: left; / * * / left justified

Background-position: right; / * * / right justif ied

Background-position: Center; / * * / justifycenter

Five, CSS connection properties:

A / * * / all hyperlinks

A:link / * * / hyperlink text format

A:visited / * visited link text format.

A:active / * press the link format.

A:hover / * * / mouse to link

Mouse cursor style:

Link finger CURSOR: hand

Ten font cursor:crosshair

Arrow down, cursor:s-resize

Cross arrow cursor:move

The arrow is right cursor:move

Add a question mark, cursor:help

Arrow left, cursor:w-resize

Arrow up, cursor:n-resize

The arrow is right up, cursor:ne-resize The arrow is left up, cursor:nw-resize Text type cursor:text I

Arrow oblique, right lower cursor:se-resize

腾讯云爆款秒杀:1C2G5M服务器38元/年,CDN流量包6元起

农历春节将至,腾讯云开启了热门爆款云产品首单特惠秒杀活动,上海/北京/广州1核2G云服务器首年仅38元起,上架了新的首单优惠活动,每天三场秒杀,长期有效,其中轻量应用服务器2G内存5M带宽仅需年费38元起,其他产品比如CDN流量包、短信包、MySQL、直播流量包、标准存储等等产品也参与活动,腾讯云官网已注册且完成实名认证的国内站用户均可参与。活动页面:https://cloud.tencent.c...

易探云(QQ音乐绿钻)北京/深圳云服务器8核8G10M带宽低至1332.07元/年起

易探云怎么样?易探云香港云服务器比较有优势,他家香港BGP+CN2口碑不错,速度也很稳定。尤其是今年他们动作很大,推出的香港云服务器有4个可用区价格低至18元起,试用过一个月的用户基本会续费,如果年付的话还可以享受8.5折或秒杀价格。今天,云服务器网(yuntue.com)小编推荐一下易探云国内云服务器优惠活动,北京和深圳这二个机房的云服务器2核2G5M带宽低至330.66元/年,还有高配云服务器...

Megalayer(48元)新增 美国CN2优化线路特价服务器和VPS方案

Megalayer 商家算是新晋的服务商,商家才开始的时候主要是以香港、美国独立服务器。后来有新增菲律宾机房,包括有VPS云服务器、独立服务器、站群服务器等产品。线路上有CN2优化带宽、全向带宽和国际带宽,这里有看到商家的特价方案有增加至9个,之前是四个的。在这篇文章中,我来整理看看。第一、香港服务器系列这里香港服务器会根据带宽的不同区别。我这里将香港机房的都整理到一个系列里。核心内存硬盘IP带宽...

css样式大全为你推荐
免费com域名注册哪个网站注册COM域名不要钱?外国虚拟主机为什么淘宝上的 外国的虚拟主机 这么便宜?免费国外空间国外免费空间有哪些好用?空间域名空间和域名是什么?虚拟空间哪个好虚拟主机哪家的最好?jsp虚拟空间jsp虚拟主机有支持的吗香港虚拟主机推荐一下香港的虚拟主机公司!apache虚拟主机apache里面可以在虚拟主机里边设置虚拟目录吗?急,在线等!重庆虚拟主机重庆市邮政速递物流公司渝北分公司双龙揽投部客服电话域名邮箱邮箱域名是什么
免费域名空间 godaddy域名注册 欧洲欧洲vps 北京vps主机 免费注册网站域名 中文域名交易中心 域名交易网 轻博客 debian6 私有云存储 好看qq空间 智能骨干网 qingyun 服务器维护方案 php空间推荐 双11秒杀 tna官网 香港新世界中心 如何建立邮箱 腾讯总部在哪 更多