{
  "id": "square-flip-loader",
  "name": "Flipping Square",
  "category": "loaders",
  "tags": [
    "3d",
    "flip",
    "square",
    "loading",
    "perspective"
  ],
  "description": "A square that flips in 3D on both axes. A tiny, eye-catching loader.",
  "url": "https://copy-css.com/snippets/square-flip-loader",
  "markdown": "https://copy-css.com/snippets/square-flip-loader.md",
  "html": "<div class=\"flip-loader\" role=\"status\" aria-label=\"Loading\"></div>",
  "css": ".flip-loader {\n  width: 40px;\n  height: 40px;\n  border-radius: 6px;\n  background: #ec4899;\n  animation: square-flip 1.2s ease-in-out infinite;\n}\n\n@keyframes square-flip {\n  0% { transform: perspective(120px) rotateX(0) rotateY(0); }\n  50% { transform: perspective(120px) rotateX(-180deg) rotateY(0); }\n  100% { transform: perspective(120px) rotateX(-180deg) rotateY(-180deg); }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .flip-loader {\n    animation-duration: 2.4s;\n  }\n}",
  "features": [
    "keyframe animations",
    "3D transforms",
    "transforms",
    "reduced-motion support"
  ],
  "customProperties": []
}
