- index.html
- style.css
HTML
CSS
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Desafío</title>
<link rel="stylesheet" href="setting.css">
<link rel="stylesheet" href="local-10.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage stage--parts-bottom stage--align-center">
<div class="work-field">
<div class="anchor anchor--two"><span class="anchor-label"></span></div>
</div>
<div class="parts-field">
<div class="parts-field-cell">
<div class="ship target ship--four"></div>
</div>
</div>
</main>
</body>
</html>
.anchor {
anchor-name: --a2;
}
.target {
position: absolute;
position-anchor: --a2;
{{property}}: top;
}
-1
Saliste de la página del desafío.
0