Disc Golf Card
A sporty card featuring a flying disc in mid-flight. Hovering puts the disc into a spin, revealing the top stamp design. Clicking throws the disc along an arc path with a trail, landing near a target basket with a satisfying chain rattle.
Disc Golf Card
by FreeCsStyles Dev's
CardsSpin / Rotation / Flip
🌐HTML/CSS🎨Tailwind⚛️React💚Vue🅰️Angular🔥Svelte☁️LWC
#disc#golf#frisbee#sport#throw#flight#spin#outdoor#flying#chain
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/disc-golf-card.
<iframe src="/embed/disc-golf-card" sandbox="allow-scripts" loading="lazy" title="Disc Golf Card" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Disc Golf Card, or grab a framework-specific implementation. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.
HTML
<div class="disc-golf-card">
<div class="disc-container">
<div class="disc">
<div class="disc-stamp"></div>
<div class="disc-rim"></div>
</div>
<div class="disc-basket">
<div class="basket-top"></div>
<div class="basket-chains"></div>
<div class="basket-pole"></div>
</div>
</div>
<div class="disc-content">
<div class="disc-title">Disc Golf</div>
<div class="disc-sub">Distance Driver</div>
</div>
</div>CSS
.disc-golf-card { position: relative; width: 220px; min-height: 290px; border-radius: 16px; background: linear-gradient(160deg, #0a1a14, #040e08); border: 1.5px solid rgba(50,200,100,0.12); overflow: hidden; cursor: pointer; }
.disc-golf-card:hover { box-shadow: 0 0 30px rgba(50,200,100,0.08); }
.disc-container { position: absolute; left: 50%; top: 35%; transform: translate(-50%,-50%); width: 90px; height: 64px; }
.disc { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #2a4a38, #0a1a14); border: 2.5px solid rgba(200,100,50,0.3); transition: transform 0.15s linear; }
.disc-golf-card:hover .disc { transform: rotate(360deg); transition: transform 0.5s linear; }
.disc-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, #ff8844, #cc4400); opacity: 0.7; }
.disc-rim { position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid rgba(200,100,50,0.15); }
.disc-basket { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); }
.basket-top { width: 20px; height: 6px; background: #888; border-radius: 3px 3px 0 0; }
.basket-chains { width: 16px; height: 20px; margin: 0 auto; background: repeating-linear-gradient(0deg, #aaa 0px, #aaa 2px, transparent 2px, transparent 4px); }
.basket-pole { width: 3px; height: 30px; background: #999; margin: 0 auto; }
.disc-content { position: absolute; inset-x: 0; bottom: 0; padding: 16px; background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent); }
.disc-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); }
.disc-sub { font-size: 9px; color: rgba(50,200,100,0.5); }Tailwind CSS
<div class="group relative w-[220px] min-h-[290px] rounded-2xl bg-gradient-to-b from-[#0a1a14] to-[#040e08] border border-emerald-500/20 overflow-hidden cursor-pointer group-hover:shadow-[0_0_30px_rgba(50,200,100,0.08)]">
<div class="absolute left-1/2 top-[35%] -translate-x-1/2 -translate-y-1/2 w-[90px] h-16">
<div class="w-16 h-16 rounded-full bg-gradient-radial from-emerald-800 to-emerald-950 border-2.5 border-orange-600/30 transition-transform duration-500 group-hover:rotate-[360deg]">
<div class="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-7.5 h-7.5 rounded-full bg-gradient-radial from-orange-400 to-orange-700 opacity-70"></div>
</div>
<div class="absolute right-[-10px] top-1/2 -translate-y-1/2">
<div class="w-5 h-1.5 bg-gray-400 rounded-t"></div>
<div class="w-4 h-5 mx-auto bg-[repeating-linear-gradient(0deg,#aaa_0px,#aaa_2px,transparent_2px,transparent_4px)]"></div>
<div class="w-0.5 h-[30px] bg-gray-500 mx-auto"></div>
</div>
</div>
<div class="absolute inset-x-0 bottom-0 p-4 bg-gradient-to-t from-black/70 to-transparent">
<p class="text-sm font-bold text-white/90">Disc Golf</p>
<p class="text-[9px] text-emerald-500/50">Distance Driver</p>
</div>
</div>React
import React, { useRef, useState } from 'react';
import { motion } from 'framer-motion';
export function DiscGolfCard({ width = 220 }) {
const [isHovered, setIsHovered] = useState(false);
const [thrown, setThrown] = useState(false);
return (
<div onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => { setIsHovered(false); setThrown(false); }}>
<motion.div onClick={() => { if (!thrown) { setThrown(true); setTimeout(() => setThrown(false), 1500); }}} whileTap={{ scale: 0.97 }} className="relative cursor-pointer" style={{ width }}>
<motion.div className="relative rounded-2xl overflow-hidden" style={{ minHeight: 290, background: 'linear-gradient(160deg, #0a1a14, #040e08)', border: '1.5px solid rgba(50,200,100,0.12)' }}>
<motion.div className="absolute" style={{ left: thrown ? '70%' : '38%', top: thrown ? '50%' : '35%' }}
animate={thrown ? { x: [0, 40, 20], y: [0, -30, -10] } : {}}
transition={{ duration: 1.5, ease: 'easeInOut' }}>
<motion.div className="w-16 h-16 rounded-full" style={{ background: 'radial-gradient(circle at 40% 30%, #2a4a38, #0a1a14)', border: '2.5px solid rgba(200,100,50,0.3)' }}
animate={{ rotate: isHovered || thrown ? 360 : 0 }} transition={{ duration: isHovered ? 0.5 : 2, repeat: Infinity, ease: 'linear' }}>
<div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-7 h-7 rounded-full" style={{ background: 'radial-gradient(circle, #ff8844, #cc4400)', opacity: 0.7 }} />
</motion.div>
</motion.div>
<motion.div className="absolute" style={{ right: 10, top: '50%', transform: 'translateY(-50%)' }}
animate={thrown ? { scale: [1, 1.3, 1], opacity: [1, 0.5, 1] } : {}}
transition={{ duration: 1.5 }}>
<div className="w-5 h-1.5 rounded-t" style={{ background: '#888' }} />
<div className="w-4 h-5 mx-auto" style={{ background: 'repeating-linear-gradient(0deg, #aaa 0px, #aaa 2px, transparent 2px, transparent 4px)' }} />
</motion.div>
<div className="absolute inset-x-0 bottom-0 p-4" style={{ background: 'linear-gradient(0deg, rgba(0,0,0,0.7), transparent)' }}>
<p className="text-sm font-bold" style={{ color: 'rgba(255,255,255,0.9)' }}>Disc Golf</p>
<p className="text-[9px]" style={{ color: 'rgba(50,200,100,0.5)' }}>{thrown ? 'CHAINS!' : 'Distance Driver'}</p>
</div>
</motion.div>
</motion.div>
</div>
);
}Where Disc Golf Card fits
- Sports Cards
- Disc Golf Apps
- Outdoor Recreation UI
- Game Scorecards
- Gear Showcase
Interaction states & animations
- Disc spin on hover
- Flight arc trajectory
- Chain rattle on landing
- Stamp design reveal
- Speed wobble
Topics
- #disc
- #golf
- #frisbee
- #sport
- #throw
- #flight
- #spin
- #outdoor
- #flying
- #chain
Accessibility notes
Flight animation may cause motion sensitivity. prefers-reduced-motion shows static disc with click-to-throw as alternative.
Browser support
- Chrome 76+
- Firefox 90+
- Safari 13+
- Edge 79+