1. Trang chủ
  2. » Công Nghệ Thông Tin

css-cheat-sheet-v2.pdf

1 2,2K 12
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 1
Dung lượng 315,28 KB

Nội dung

css

TextShorthand properties are marked xProperties that inherit are marked +NotePseudo-Selectors and Pseudo-Classes:first-child:first-line:first-letter:hover:active:focus:link:visited:lang(var):before:afterFirst child elementFirst line of elementFirst letter of elementElement with mouse overActive elementElement with focusUnvisited linksVisited linksElement with language "var"Before elementAfter elementDimensionswidthmin-widthmax-widthheightColor / Backgroundcolor +background xbackground-colorbackground-attachmentFontsfont + xfont-family +font-style +font-variant +Texttext-indent +text-align +text-decorationtext-shadowletter-spacing +page-break-inside +page +orphans +widows +min-heightmax-heightvertical-alignbackground-repeatbackground-imagebackground-positionfont-weight +font-stretch +font-size +font-size-adjust +word-spacing +text-transform +white-space +line-height +Miscellaneouscontentquotes +counter-resetcounter-incrementlist-style + xPagingsizemarkspage-break-beforepage-break-afterInterfacecursor +outline xoutline-widthAuralvolume +speak +pause xpause-beforepause-aftercue xcue-beforecue-afterplay-duringazimuth +list-style-type +list-style-image +list-style-position +marker-offsetoutline-styleoutline-colorelevationspeech-ratevoice-familypitchpitch-rangestressrichnessspeak-punctuationspeak-numeralTablescaption-side +table-layoutborder-collapse +border-spacing +empty-cells +speak-header +Box ModelcsscssAvailable free fromwww.AddedBytes.comSizes and Colours0Relative Sizesemex%Absolute SizespxcmmminptpcColours#789abc#acfrgb(0,25,50)0 requires no unit1em equal to font size of parent (same as 100%)Height of lower case "x"PercentagePixelsCentimetersMillimetersInches1pt = 1/72in1pc = 12ptRGB Hex NotationEquates to "#aaccff"Value of each of red, green, and blue. 0 to 255, may be swapped for percentages.WidthMarginPaddingVisible AreaHeightBorderBoxesmargin xmargin-topmargin-rightmargin-bottommargin-leftpadding xpadding-toppadding-rightpadding-bottompadding-leftborder xborder-top xborder-bottom xborder-right xborder-left xborder-color xborder-top-colorborder-right-colorborder-bottom-colorborder-left-colorborder-style xborder-top-styleborder-right-styleborder-bottom-styleborder-left-styleborder-width xborder-top-widthborder-right-widthborder-bottom-widthborder-left-widthPositioningdisplaypositiontoprightbottomleftfloatclearz-indexdirection +unicode-bidioverflowclipvisibilitySelectors*divdiv *div spandiv, spandiv > spandiv + span.classdiv.class#itemiddiv#itemida[attr]a[attr='x']a[class~='x']a[lang|='en']All elements<div>All elements within <div><span> within <div><div> and <span><span> with parent <div><span> preceded by <div> Elements of class "class"<div> of class "class"Element with id "itemid"<div> with id "itemid"<a> with attribute "attr"<a> when "attr" is "x"<a> when class is a list containing 'x'<a> when lang begins "en"

Ngày đăng: 23/08/2012, 11:19

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN