_ _
___ | |__ __ _ _______ | |_
/ _ \| '_ \ / _` |_ / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
\___/|_| |_|\__,_/___\___/ \__|
css —
syntax
element can be:html element #id .class.
To apply to multiple elements:
- element, element
- apply to multiple elements.
- element > element
- applies to descendant.
element {
property: value;
}
| margin, padding |
: can be [margin|padding] or
[margin|padding]-[right|left|top|bottom]. |
| border |
: border can be defined using border or each border option
(border-style, border-width, etc.). |
| border-style |
: solid, dotted, dashed, none. |
| NOTE: any syntax error will stop applying the style on the current or
following elements. |
body {
background-color: #262626;
color: #bfbfbf;
font-family: monospace;
}
a {
color: #00b3b3;
}
.head , .foot , .Ndm {
background-color: #1a1a1a;
padding:5px;
margin:5px;
border: solid 1px;
}
pre {
background-color: #1a1a1a;
padding:10px;
margin: 10px;
}
.head-rtitle {
float: right;
}
body {
background-color: #262626;
color: #bfbfbf;
font-family: monospace;
}
/*
a {
color: #00b3b3;
}
*/
pre {
background-color: #1a1a1a;
padding:10px;
margin: 10px;
}
(back to top)
| 2026-07-11 |
: Translated to Spanish. |
| 2025-10-16 |
: Created. |