mirror of
https://github.com/servo/servo.git
synced 2025-10-01 17:19:16 +01:00
Default is top-to-bottom if unset, not bottom-to-top
This commit is contained in:
parent
7e3c9e2197
commit
23d4f04ce5
4 changed files with 23 additions and 1 deletions
|
@ -19,11 +19,15 @@ section {
|
|||
#c {
|
||||
background: linear-gradient(90deg, violet, violet 1em, violet 2ex, violet 50%, blue 50%, blue, blue);
|
||||
}
|
||||
#d {
|
||||
background: linear-gradient(red, green);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section id=a></section>
|
||||
<section id=b></section>
|
||||
<section id=c></section>
|
||||
<section id=d></section>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -30,6 +30,9 @@ nav {
|
|||
background: blue;
|
||||
right: 0;
|
||||
}
|
||||
#d {
|
||||
background: linear-gradient(to bottom, red, green);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -39,5 +42,6 @@ nav {
|
|||
<nav id=ca></nav>
|
||||
<nav id=cb></nav>
|
||||
</section>
|
||||
<section id=d></section>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue