File: floating-content.html

package info (click to toggle)
liblayout 0.2.10-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 5,332 kB
  • sloc: java: 51,125; xml: 138; makefile: 17
file content (47 lines) | stat: -rw-r--r-- 1,061 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html>
<head>
  <style type="text/css">
    h1 { border: 1pt solid black; }
  
    h1:before {
      content: "<b>test</b>";
    }

	b {
		background-color: green;
	}

    b:before {
      content: "<h1>test2</h1>";
    }

    p {
      content: "Test";
    }
  </style>
</head>
<body>
  <p>
    A
    <span style="position:relative; font-size:40px; z-index:2;">
      <span style="position: relative; z-index:0">LAYER 1</span>
    </span>
    <span style="position:relative; left: -100px; color:red; font-size:60px; z-index:1">
      <span>LAYER 2</span>
    </span>
    B
  </p>

  <p>
    Some long text, divided by some more text, divided by some more text,
    <span style="background-color: blue">
    divided by some more text, divided by some more text, divided by some more text,
    <div style="float:left">I am floating ... </div>
    divided by some more text, divided by some more text, divided by some more text,
      </span>
    divided by some more text, divided by some more text, divided by some more text.
  </p>

<p>Blah</p>
</body>
</html>