Примеры
Compact a flex layout for a copied style tag
Ввод
.toolbar { display: flex; gap: 8px; align-items: center; }Expected answer
.toolbar {display: flex;gap: 8px;align-items: center;}- Сохранять комментарии
Off
Keep the attribution comment in a distributed theme
Ввод
/* Theme fragment: CC0 */
:root { --accent: #005fcc; }
a { color: var(--accent); }Expected answer
/*Theme fragment: CC0 */:root {--accent: #005fcc;}a {color: var(--accent);}- Сохранять комментарии
On
Remove a development note from a hover rule
Ввод
/* temporary debug border removed */
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px #ccc; }Expected answer
.card:hover {transform: translateY(-2px);box-shadow: 0 2px 4px #ccc;}- Сохранять комментарии
Off
Compact an RGB color and a quoted font family
Ввод
h1 { color: rgb(12, 34, 56); font-family: "Times New Roman", serif; }Expected answer
h1 {color: rgb(12, 34, 56);font-family: "Times New Roman", serif;}- Сохранять комментарии
Off
Reduce a reduced-motion override
Ввод
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }Expected answer
@media (prefers-reduced-motion: reduce) {.spinner {animation: none;}}- Сохранять комментарии
Off
Параметры
| Параметр | Значение по умолчанию | Ввод и варианты |
|---|---|---|
| Сохранять комментарии | false | Включено или выключено |