Skip to content

Commit

Permalink
Progress saving
Browse files Browse the repository at this point in the history
  • Loading branch information
JulieSagan committed Dec 31, 2024
1 parent d586d7b commit 613e17e
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 13 deletions.
36 changes: 23 additions & 13 deletions 07-lection5/04-input/index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
<!DOCTYPE html>
<!-- Страница с полем ввода -->
<html lang="ru">
<head>
<link rel="stylesheet" href="../../assets/css/main.css">
<link rel="stylesheet" href="./input.css">

<title>Input</title>
</head>
<head>
<link rel="stylesheet" href="../../assets/css/main.css">
<link rel="stylesheet" href="./input.css">

<body>
<div class="container">
<label class="input">
<input type="text" class="input_default">
</label>
</div>
</body>
</html>
<title>Input</title>
</head>

<body>
<div class="container">

<div class="input">
<label for="default" class="input__label">Label</label>
<input class="input__field" type="text" placeholder="Placeholder" id="default">
</div>

<div class="input">
<label for="success" class="input__label">Success</label>
<input class="input__field input__field_success" type="text" placeholder="Success" id="success">
</div>

</div>
</body>

</html>
39 changes: 39 additions & 0 deletions 07-lection5/04-input/input.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.input {
display: flex;
flex-direction: column;
width: 350px;
gap: 5px;
}

.input__label {
color: var(--grey-3, #ACB5BD);
font-family: Inter;
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: 1.5;
letter-spacing: 0.48px;
text-transform: uppercase;
}

.input__field {
height: 56px;
border-radius: 8px;
border: 1px solid var(--grey-2, #DDE2E5);
padding-left: 24px;
font-family: Inter;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 1.3;
}

.input__field::placeholder {
color: var(--grey-2, #DDE2E5);
}

.input__field:focus {
border-color: var(--blue, #374FC7);
outline: none;
color: var(--grey-4, #495057);
}

0 comments on commit 613e17e

Please sign in to comment.