Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(HTML): web/html/element/input/color #3922

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 28 additions & 5 deletions files/uk/web/html/element/input/color/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,34 @@ browser-compat: html.elements.input.type_color

Представлення елемента може суттєво відрізнятися в різних браузерах чи платформах: може бути базовим текстовим полем, що автоматично валідує введений колір на коректність формату, або ж залежним від платформи інтерфейсом вибору кольору, або ж якимсь особливим віконцем.

{{EmbedInteractiveExample("pages/tabbed/input-color.html", "tabbed-standard")}}
{{InteractiveExample("Демо HTML: <input type="color">", "tabbed-standard")}}

```html interactive-example
<p>Оберіть кольори свого чудовиська:</p>

<div>
<input type="color" id="head" name="head" value="#e66465" />
<label for="head">Голова</label>
</div>

<div>
<input type="color" id="body" name="body" value="#f6b73c" />
<label for="body">Тіло</label>
</div>
```

```css interactive-example
p,
label {
font:
1rem "Fira Sans",
sans-serif;
}

input {
margin: 0.4rem;
}
```

## Значення

Expand Down Expand Up @@ -208,7 +235,3 @@ function updateAll(event) {
## Сумісність із браузерами

{{Compat}}

## Дивіться також

- [Сумісність властивостей CSS](/uk/docs/Learn/Forms/Property_compatibility_table_for_form_controls)
Loading