أمثلة
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 | تشغيل أو إيقاف |