Files
interfaces/lab1/screen-forms/elements/card.html

64 lines
1.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Карточка</title>
<link rel="stylesheet" href="../common.css">
<style>
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: var(--color-bg-light);
padding: 40px;
}
.element-container {
width: 335px;
display: flex;
flex-direction: column;
gap: 20px;
}
.element-title {
font-size: 20px;
font-weight: 600;
color: var(--color-text-dark);
text-align: center;
}
.element-description {
font-size: 14px;
color: var(--color-text-medium);
text-align: center;
}
</style>
</head>
<body>
<div class="element-container">
<h2 class="element-title">Карточка (Card)</h2>
<div class="card">
<h3 class="card-title">Заголовок карточки</h3>
<p class="card-text">
Содержимое карточки с информацией.
Карточки используются для группировки связанного контента.
</p>
</div>
<p class="element-description">
Фон: белый (#FFFFFF)<br>
Радиус: 12pt<br>
Отступы: 16pt<br>
Тень: средняя (shadow-md)
</p>
</div>
</body>
</html>