mirror of
https://github.com/servo/servo.git
synced 2025-06-18 21:34:30 +00:00
This was making `box-shadow` not show up in many cases, in particular, but the effects were not limited to that.
25 lines
344 B
HTML
25 lines
344 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<style>
|
|
section {
|
|
position: absolute;
|
|
top: 100px;
|
|
left: 100px;
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
h1 {
|
|
position: relative;
|
|
top: -50px;
|
|
left: -50px;
|
|
width: 200px;
|
|
height: 200px;
|
|
margin: 0;
|
|
outline: solid 10px green;
|
|
}
|
|
</style>
|
|
<body>
|
|
<section><h1></h1></section>
|
|
</body>
|
|
</html>
|
|
|