/extras/css-reference.txt

http://txt2tags.googlecode.com/ · Plain Text · 163 lines · 141 code · 22 blank · 0 comment · 0 complexity · 275935992761796d2dc51c49a25631be MD5 · raw file

  1. %%%%% CSS Reference File (grep friendly)
  2. %
  3. % by Aurelio Jargas
  4. % Part of txt2tags project - http://txt2tags.org
  5. %
  6. %
  7. %%% Font Properties
  8. %
  9. font-family : Verdana, Arial, Helvetica, Times, Courier
  10. font-family : sans-serif, serif, monospace, cursive, fantasy
  11. font-style : normal, italic, oblique
  12. font-variant : normal, small-caps
  13. font-weight : normal, bold, bolder, lighter
  14. font-size : xx-large, x-large, large, medium
  15. font-size : small, x-small, xx-small
  16. font-size : larger, smaller, 120%, 12pt
  17. font : bold 12pt Arial
  18. %
  19. %%% Color and Background Properties
  20. %
  21. color : white, #FFF, #FFFFFF, rgb(100%,100%,100%)
  22. color : aqua, black, blue, fuchsia, gray, green, lime
  23. color : maroon, navy, olive, orange, purple, red, silver
  24. color : teal, white, yellow
  25. background-color : transparent, white, #FFF, #FFFFFF
  26. background-image : none, url(file.jpg)
  27. background-repeat : repeat, repeat-x, repeat-y, no-repeat
  28. background-attachment : scroll, fixed
  29. background-position : top, center, bottom, left, center, right
  30. background : white url(file.jpg) no-repeat top left
  31. %
  32. %%% Text Properties
  33. %
  34. text-align : left, right, center, justify
  35. text-decoration : none, underline, overline, line-through, blink
  36. line-height : normal, 5, 5px, 5.0em, 5%
  37. text-indent : 25px, 25%
  38. text-transform : none, capitalize, uppercase, lowercase
  39. letter-spacing : normal, 5pt, 5.0em
  40. word-spacing : normal, 5pt, 5.0em
  41. white-space : normal, pre, nowrap, pre-wrap, pre-line
  42. vertical-align : top, bottom, middle, sub, super
  43. vertical-align : baseline, text-top, text-bottom
  44. direction : ltr, rtl
  45. %
  46. %%% Box Properties
  47. %
  48. margin-top : auto, 5px, 5.0em, 5%
  49. margin-right : auto, 5px, 5.0em, 5%
  50. margin-bottom : auto, 5px, 5.0em, 5%
  51. margin-left : auto, 5px, 5.0em, 5%
  52. margin : auto, 5px 10px 5px 10px
  53. padding-top : 5px, 5.0em, 5%
  54. padding-right : 5px, 5.0em, 5%
  55. padding-bottom : 5px, 5.0em, 5%
  56. padding-left : 5px, 5.0em, 5%
  57. padding : 5px 10px 5px 10px
  58. border-top-width : thin, medium, thick, 5px, 5.0em
  59. border-right-width : thin, medium, thick, 5px, 5.0em
  60. border-bottom-width : thin, medium, thick, 5px, 5.0em
  61. border-left-width : thin, medium, thick, 5px, 5.0em
  62. border-width : thin, medium, thick, 5px 10px 5px 10px (T R B L)
  63. border-top-color : white, #FFF, #FFFFFF
  64. border-right-color : white, #FFF, #FFFFFF
  65. border-bottom-color : white, #FFF, #FFFFFF
  66. border-left-color : white, #FFF, #FFFFFF
  67. border-color : white red green blue
  68. border-top-style : none, solid, double, dashed, dotted, groove, ridge, ...
  69. border-right-style : none, solid, double, dashed, dotted, groove, ridge, ...
  70. border-bottom-style : none, solid, double, dashed, dotted, groove, ridge, ...
  71. border-left-style : none, solid, double, dashed, dotted, groove, ridge, ...
  72. border-style : none, solid, double, dashed, dotted, groove, ridge, ...
  73. border-style : ..., inset, outset
  74. border-top : thin solid white (width style color)
  75. border-right : thin solid white (width style color)
  76. border-bottom : thin solid white (width style color)
  77. border-left : thin solid white (width style color)
  78. border : thin solid white (width style color)
  79. %
  80. %%% List Properties
  81. %
  82. list-style-type : none, disc, circle, square
  83. list-style-type : decimal, decimal-leading-zero
  84. list-style-type : lower-roman, upper-roman, lower-alpha, upper-alpha
  85. list-style-type : lower-latin, upper-latin, lower-greek
  86. list-style-type : hebrew, armenian, georgian, cjk-ideographic
  87. list-style-type : hiragana, katakana, hiragana-iroha, katakana-iroha
  88. list-style-image : none, url(list.gif)
  89. list-style-position : inside, outside
  90. list-style : square outside url(list.gif)
  91. marker-offset : auto, 5px, 5.0em
  92. %
  93. %%% Positioning Properties
  94. %
  95. float : none, left, right
  96. clear : none, left, right, both
  97. clip : auto, rect(0px 200px 200px 0px)
  98. height : auto, 5px, 5.0em
  99. left : auto, 5px, 5.0em, 5%
  100. right : auto, 5px, 5.0em, 5%
  101. overflow : auto, visible, hidden, scroll
  102. position : absolute, relative, static, fixed
  103. top : auto, 5px, 5.0em, 5%
  104. bottom : auto, 5px, 5.0em, 5%
  105. visibility : visible, hidden, collapse
  106. width : auto, 5px, 5.0em, 5%
  107. z-index : auto, 5, -5
  108. display : none, inherit, inline, block, list-item, run-in, table
  109. display : inline-block, inline-table, table-row, table-cell
  110. display : table-column, table-row-group, table-column-group
  111. display : table-caption, table-header-group, table-footer-group
  112. %
  113. %%% Table Properties
  114. %
  115. border-collapse : collapse, separate
  116. border-spacing : 5px, 5.0em
  117. caption-side : top, bottom
  118. empty-cells : show, hide
  119. table-layout : auto, fixed
  120. %
  121. %%% Printing Properties
  122. %
  123. page-break-before : auto, always, left, right
  124. page-break-after : auto, always, left, right
  125. %
  126. %%% Pseudo Classes
  127. %
  128. active : ...
  129. hover : ...
  130. link : ...
  131. visited : ...
  132. first-letter : ...
  133. first-line : ...
  134. %
  135. %%% Other
  136. %
  137. quotes : none, " ", ' '
  138. cursor : auto, crosshair, default, pointer
  139. cursor : hand, move, text, wait, help, progress
  140. cursor : e-resize, n-resize, s-resize, w-resize
  141. cursor : ne-resize, nw-resize, se-resize, sw-resize