You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/tdehtml/test/pseudo.html

28 lines
771 B

<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>