File: pseudotest.html

package info (click to toggle)
libcss-inliner-perl 4024-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 412 kB
  • sloc: perl: 882; makefile: 2
file content (121 lines) | stat: -rw-r--r-- 1,913 bytes parent folder | download
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">

a[class="special"]:active,
a[class="special"]:focus,
a[class="special"]:visited {
 color: #FF0000;
}

a[class="special"]:hover {
 color: #FF00FF;
}

p::before { 
    content: "H";
}

p::after { 
    content: ",";
}

::selection {
  background: #000000;
}

:target {
  border: 2px solid #000000;
}

div > p:first-line {
  font-size: 11px;
  text-transform: capitalize;
}

div > p:first-of-type a:link {
  color: #222222;
}

div > p:first-of-type a {
  color: #DDAADD;
}

div > p:first-of-type a:visited {
  color: #AAAADD;
}

a:last-of-type {
  color: #EEDDAA;
}

div > p:first-letter {
  font-size: 30px;
}

form:only-of-type {
  background-color: #F0F000;
  padding: 30px;
}

a:not(.special), form p {
  color: #FF0000;
}

:root input[type=submit] {
  background: #3858A3;
}

input[type=submit]:hover {
  background: #1D3B7D;
}

input[type=submit]:active {
  border: 3px solid #BB0000;
}

form:only-of-type p::before {
  content: none;
}

form p::after {
  content: "!!!!";
}

input[type="checkbox"]:checked ~ p {
  display:none;
}

input:not(:optional) ~ span.first {
  background-color: #0000FF;
  color: #FFFFFF;
}

:root body {
  margin: 20px;
}

input:nth-of-type(2n) ~ span {
  color: #AAFFEE;
}

</style>
</head>
<body>
  <a class="special" href="#tips">Visit the Useful Tips Section</a>
  <div>Within a div <p>or within a paragraph <a href="#">or within a link</a></p></div>
  <ul>
    <li>Some text would be here</li>
    <li>Some other text would be here</li>
  </ul>	
  <a id="tips">Useful Tips Section</a>
  <form>
    <input type="checkbox" name="vehicle" value="Bike" required><span class="first">I have a bike</span><br>
    <input type="checkbox" name="vehicle" value="Motorcycle" optional><span>I have a motorcycle</span><br>
    <input type="submit" value="Submit">
    <p>Complete the form</p>
  </form>  
</body>
</html>