예제
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 | 켜짐 또는 꺼짐 |