Menu
×
×
正确
<style>
@(8) {
position: absolute;
top: 0;
@(7): 1;
}
@(8) {
position: absolute;
top: 0;
@(7): 0;
}
</style>
<body>
<h1 id="mytitle">This is a heading</h1>
<p id="myintro">This is a paragraph</p>
</body>
<style>
#mytitle {
position: absolute;
top: 0;
z-index: 1;
}
#myintro {
position: absolute;
top: 0;
z-index: 0;
}
</style>
<body>
<h1 id="mytitle">This is a heading</h1>
<p id="myintro">This is a paragraph</p>
</body>
<style>
h1 {
position: absolute;
top: 0;
z-index: 1;
}
p {
position: absolute;
top: 0;
z-index: 0;
}
</style>
<body>
<h1 id="mytitle">This is a heading</h1>
<p id="myintro">This is a paragraph</p>
</body>
<style>
#mytitle {
position: absolute;
top: 0;
z-index: 1;
}
p {
position: absolute;
top: 0;
z-index: 0;
}
</style>
<body>
<h1 id="mytitle">This is a heading</h1>
<p id="myintro">This is a paragraph</p>
</body>
<style>
h1 {
position: absolute;
top: 0;
z-index: 1;
}
#myintro {
position: absolute;
top: 0;
z-index: 0;
}
</style>
<body>
<h1 id="mytitle">This is a heading</h1>
<p id="myintro">This is a paragraph</p>
</body>
不正确
点击 此处 重试 正确
下一题 ❯<style>w3exercise_input_no_0{ position: absolute; top: 0;w3exercise_input_no_1: 1; }w3exercise_input_no_2{ position: absolute; top: 0;w3exercise_input_no_3: 0; } </style> <body> <h1 id="mytitle">This is a heading</h1> <p id="myintro">This is a paragraph</p> </body> |