Commit 7e5fd30d authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Fix CSS. first-child and nth-child selectors not supported

(by QtWebkit)
parent a1ab6520
......@@ -3,9 +3,8 @@
<head>
<style type="text/css">
body { margin: 0; font-size: 2em; }
h1 { text-align: center; }
h1:first-child { color: red; }
h1:nth-child(2) { color: green; }
h1 { text-align: center; color: red; }
h1 + h1 { color: green; }
h1:last-child { color: blue; }
#quit { background-color: gray; color: white; font-weight: bold; display: block; text-align: right; }
</style>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment