{
"$schema": "../schemas/code-crispies-module-schema.json",
"id": "css-filters",
"title": "CSS Filters",
"description": "Apply visual effects like blur, brightness, and shadows with CSS filters.",
"difficulty": "intermediate",
"lessons": [
{
"id": "filters-1",
"title": "Blur Filter",
"description": "The filter property applies visual effects to elements. The blur() function creates a Gaussian blur effect.
filter: blur(4px);
filter: grayscale(100%);
filter: brightness(150%);", "task": "Make the card appear brighter and more vivid. Use a brightness value between 110% and 150%.", "previewHTML": "
filter: drop-shadow(2px 4px 6px black);", "task": "Add a soft shadow behind the star to give it depth. Use the drop-shadow filter with offset, blur, and a color.", "previewHTML": "