source: project/release/4/colorize/trunk/tests/several-commented-attributes.css.in @ 27134

Last change on this file since 27134 was 27134, checked in by sjamaan, 9 years ago

colorize: Add (initial version of) css language support

File size: 1.1 KB
Line 
1/* Here's a test */
2html {
3  /**
4   * Images can be full URIs (dragging in another pretty large RFC), which can
5   * *optionally* be quoted (why all this unneccessary optional stuff?)
6   */
7  background-image: url("path/to/image.png") !important;
8
9  /* You can use named "counters" (what, there are no variables in CSS?!) */
10  content: "Chapter " counter(my-chapter-counter) ". ";
11  counter-increment: my-chapter-counter;      /* Add 1 to chapter */
12
13  /**
14   * Lists of font names (strings), separated by spaces and possibly quoted.
15   * Also, a restricted set of specially-defined "generic font families"
16   * like serif, fantasy(WTF) and monospace, and even a set of specially-defined
17   * "system fonts" like status-bar, small-caption, icon and menu.
18   */
19  font-family: Helvetica, "Comic Sans MS", fantasy, small-caption;
20
21  /**
22   * Many different size types: em, ex, px, pt, in, cm, mm, percentage, unit-less.
23   * In margins and paddings, you can provide 1, 2, 3 or 4 values which determine
24   * how they expand into -top, -right, -bottom and -left.
25   */
26  margin: 1px 2em 30% 0;
27}
Note: See TracBrowser for help on using the repository browser.