Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
7e5fd30d
Commit
7e5fd30d
authored
Feb 02, 2011
by
Alessandro Portale
Browse files
Fix CSS. first-child and nth-child selectors not supported
(by QtWebkit)
parent
a1ab6520
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/templates/html5app/html/index.html
View file @
7e5fd30d
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment