{
  "id": "four-corner-gradient",
  "name": "Four Corner Gradient",
  "category": "gradients",
  "tags": [
    "mesh",
    "bilinear",
    "mask",
    "pastel",
    "background"
  ],
  "description": "A smooth four-color gradient with a different color in each corner, blended with a masked layer.",
  "url": "https://copy-css.com/snippets/four-corner-gradient",
  "markdown": "https://copy-css.com/snippets/four-corner-gradient.md",
  "html": "<div class=\"gradient-corners\"></div>",
  "css": "/* Bottom row of colors on the element, top row on a layer that fades out downward */\n.gradient-corners {\n  position: relative;\n  isolation: isolate;\n  background: linear-gradient(90deg, #22d3ee, #a78bfa);\n}\n\n.gradient-corners::before {\n  content: \"\";\n  position: absolute;\n  inset: 0;\n  z-index: -1;\n  background: linear-gradient(90deg, #fde047, #f472b6);\n  -webkit-mask: linear-gradient(#000, #0000);\n  mask: linear-gradient(#000, #0000);\n}",
  "features": [
    "linear gradients",
    "masks"
  ],
  "customProperties": []
}
