欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程语言 > asp.net >内容正文

asp.net

html5 css3 设计模式,html5+css3设计模式

发布时间:2025/3/19 asp.net 25 豆豆
生活随笔 收集整理的这篇文章主要介绍了 html5 css3 设计模式,html5+css3设计模式 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

html5+css3设计模式

1 简化的css

css基础

45个常用的CSS属性+4中元素(行内,行内块级,块式,表格)+5中定位思想(静态,相对,绝对,固定,浮动)形成多种多样的设计模式。

小技巧:在属性名称之前加1(或任意字符),可以禁用一个规则,这种规则失效只针对一种规则,用来调试。如1background-color:white。

CSS常用属性:

display margin text-indent

visibility margin-left text-align

float margin-right margin-top color

clear margin-bottom font

position borderfont-family

z-indexborder-leftfont-size

overflowborder-left-colorfont-style

border-left-width font-variant

border-left-stylefont-weight

leftborder-righttext-decoration

rightborder-right-colortext-transform

widthborder-right-width

min-widthborder-right-stylevertical-align

max-widthborder-topline-height

topborder-top-colorwhite-space

bottomborder-top-widthword-spacing

heightborder-top-styleetter-spacing

min-heightborder-bottomdirection

max-heightborder-bottom-color unicode-bidi

border-bottom-width

border-bottom-style

paddinglist-style

padding-leftlist-style-type

padding-rightlist-style-position

padding-bottomlist-style-image

background table-layout

background-color

background-image page-break-after

background-repeat page-break-before

background-position

css常用属性与值

总结

以上是生活随笔为你收集整理的html5 css3 设计模式,html5+css3设计模式的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。