样式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

速云:深圳独立服务器,新品上线,深港mpls免费体验,多重活动!

速云怎么样?速云是一家国人商家。速云商家主要提供广州移动、深圳移动、广州茂名联通、香港HKT等VDS和独立服务器。目前,速云推出深圳独服优惠活动,机房为深圳移动机房,购买深圳服务器可享受5折优惠,目前独立服务器还支持申请免费试用,需要提交工单开通免费体验试用,次月可享受永久8折优惠,也是需工单申请哦!点击进入:速云官方网站地址活动期限至 2021年7月22日速云云服务器优惠活动:活动1:新购首月可...

香港CN2云服务器 1核 2G 35元/月 妮妮云

妮妮云的来历妮妮云是 789 陈总 张总 三方共同投资建立的网站 本着“良心 便宜 稳定”的初衷 为小白用户避免被坑妮妮云的市场定位妮妮云主要代理市场稳定速度的云服务器产品,避免新手购买云服务器的时候众多商家不知道如何选择,妮妮云就帮你选择好了产品,无需承担购买风险,不用担心出现被跑路 被诈骗的情况。妮妮云的售后保证妮妮云退款 通过于合作商的友好协商,云服务器提供2天内全额退款到网站余额,超过2天...

丽萨主机:美国CN2 GIA精品网/KVM/9折,美国原生IP,最低27元/月

丽萨主机怎么样?丽萨主机,团队于2017年成立。成立之初主要做的是 CDN 和域名等相关业务。最近开辟新领域,新增了独立服务器出租、VPS 等业务,为了保证业务质量从一开始就选择了中美之间的 CN2 GIA 国际精品网络,三网回程 CN2 GIA,电信去程 CN2 GIA + BGP 直连智能路由,联通移动去程直连,原生IP。适合对网络要求较高的用户,同时价格也比较亲民。点击进入:丽萨主机官方网站...

css样式大全为你推荐
租服务器租个一般的服务器大概多少钱啊?成都虚拟空间空间服务商那个好成都虚拟空间成都有没有能玩ps主机游戏的网咖?虚拟主机评测浅谈建站新手如何挑选虚拟主机大连虚拟主机大连华企智源是做网站的吗?淘宝虚拟主机淘宝里卖虚拟主机、独立服务器、VPS的都是怎么进货的。域名解析域名解析是什么意思为什么要域名解析?域名解析域名解析是什么意思啊?org域名.org域名和.com哪个域名好?动态域名动态域名什么意思?
域名购买 新世界机房 账号泄露 淘宝双十一2018 免费ddos防火墙 铁通流量查询 100m免费空间 促正网秒杀 免费高速空间 百度云1t hkt 卡巴斯基是免费的吗 服务器是干什么用的 腾讯数据库 攻击服务器 杭州电信 SmartAXMT800 ncp windowsserver2012 傲盾代理 更多