</> ConvertAtlas Developer Tools
Bootstrap 5 · Intermediate

3D Tilt Card

A card that tilts in 3D with a glare following the cursor, via Vanilla-Tilt.

Requires Bootstrap 5, Vanilla-Tilt. Add the CDN tags below to your page (styles in <head>, scripts before </body>). The downloaded file already includes them.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanilla-tilt@1.8.1/dist/vanilla-tilt.min.js"></script>
<div data-tilt data-tilt-glare data-tilt-max-glare="0.4" class="card border-0 text-white" style="width:240px;background:linear-gradient(135deg,#6a11cb,#2575fc)"><div class="card-body text-center py-5"><div class="fs-1">✦</div><h6 class="fw-bold">Tilt Card</h6><p class="small opacity-75 mb-0">Hover to tilt in 3D</p></div></div>
VanillaTilt.init(document.querySelector('[data-tilt]'),{max:18,speed:400});
Free to use.This component uses Bootstrap 5, Vanilla-Tilt (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.