- 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-11.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage stage--parts-bottom">
<div class="work-field">
<div class="anchor anchor--one"><span class="anchor-label"></span></div>
</div>
<div class="parts-field">
<div class="parts-field-cell">
<div class="ship target target--one ship--one"></div>
</div>
<div class="parts-field-cell">
<div class="ship target target--two ship--two"></div>
</div>
</div>
</main>
</body>
</html>
.anchor--one {
anchor-name: --a1;
}
.target--one {
position: absolute;
left: anchor({{leftOne}});
top: anchor({{topOne}});
}
.target--two {
position: absolute;
left: anchor({{leftTwo}});
top: anchor({{topTwo}});
}
-4
Saliste de la página del desafío.
0