summaryrefslogtreecommitdiffstats
path: root/khtml/test/pseudo.html
blob: caba3bfee425ead8b8b487e1287b303badd2fc79 (plain)
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


<html>
<head>
<style>
span { background-color: blue; }
span:hover { background-color: red; }
div { border: 2px solid blue; }
div:first-letter { background-color: green; float: left; font-size: 3em; margin: 3px 3px 3px 3px}
div:first-line { background-color: red; font-size: 1em; }

</style>
</head>
<body>
<h1>:first-letter and :first-line</h1>
<div>
Hello world Hello world Hello worldHello world Hello world Hello world Hello world
Hello world Hello world Hello worldHello world Hello world Hello world Hello world
Hello world Hello world Hello worldHello world Hello world Hello world Hello world
Hello world Hello world Hello worldHello world Hello world Hello world Hello world
</div>
<h1>:hover</h1>
<p>
 jee jee <span>jee</span> jee jee jee
</p>
</body>
</html>