SHOW:
|
|
- or go back to the newest paste.
| 1 | HTML: | |
| 2 | <div id="panel"> | |
| 3 | <span id="text-panel"> | |
| 4 | Visit some of our working pages | |
| 5 | </span> | |
| 6 | </div> | |
| 7 | ||
| 8 | CSS: | |
| 9 | #text-panel /* текст панельки */ | |
| 10 | {
| |
| 11 | position: absolute; | |
| 12 | margin-top: 5px; | |
| 13 | margin-left: 22px; | |
| 14 | color: white; | |
| 15 | font-family: Arial; | |
| 16 | font-size: 15px; | |
| 17 | } | |
| 18 | ||
| 19 | ||
| 20 | CSS Reset: | |
| 21 | /* CSS-reset от Эрика Мейера. */ | |
| 22 | ||
| 23 | html, body, div, span, applet, object, iframe, | |
| 24 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| 25 | a, abbr, acronym, address, big, cite, code, | |
| 26 | del, dfn, em, img, ins, kbd, q, s, samp, | |
| 27 | small, strike, strong, sub, sup, tt, var, | |
| 28 | b, u, i, center, dl, dt, dd, ol, ul, li, | |
| 29 | fieldset, form, label, legend, table, caption, | |
| 30 | tbody, tfoot, thead, tr, th, td, article, aside, | |
| 31 | canvas, details, embed, figure, figcaption, | |
| 32 | footer, header, hgroup, menu, nav, output, | |
| 33 | ruby, section, summary, time, mark, audio, video | |
| 34 | {
| |
| 35 | margin: 0; | |
| 36 | padding: 0; | |
| 37 | border: 0; | |
| 38 | font-size: 100%; | |
| 39 | font: inherit; | |
| 40 | vertical-align: baseline; | |
| 41 | } | |
| 42 | ||
| 43 | article, aside, details, figcaption, figure, | |
| 44 | footer, header, hgroup, menu, nav, section | |
| 45 | {
| |
| 46 | display: block; | |
| 47 | } | |
| 48 | ||
| 49 | body | |
| 50 | {
| |
| 51 | line-height: 1; | |
| 52 | } | |
| 53 | ||
| 54 | ol, ul | |
| 55 | {
| |
| 56 | list-style: none; | |
| 57 | } | |
| 58 | ||
| 59 | blockquote, q | |
| 60 | {
| |
| 61 | quotes: none; | |
| 62 | } | |
| 63 | ||
| 64 | blockquote:before, blockquote:after, | |
| 65 | q:before, q:after | |
| 66 | {
| |
| 67 | content: ''; | |
| 68 | content: none; | |
| 69 | } | |
| 70 | ||
| 71 | table | |
| 72 | {
| |
| 73 | border-collapse: collapse; | |
| 74 | border-spacing: 0; | |
| 75 | } |