Citation Footnote Bloom
A compact citation card opens beside a footnote number to show bibliographic details.
A compact citation card opens beside a footnote number to show bibliographic details.
Live Demo
Hover over the element or use Tab to focus.
Source Code
Copy the HTML, CSS or JavaScript you need for your project.
<a class="tbx-1136" href="#reference-04"><span class="tbx-1136__number">[04]</span><span class="tbx-1136__title">View research report</span><span class="tbx-1136__note" aria-hidden="true"><b>REFERENCE</b><span>2026 / Design Notes</span></span></a>
.tbx-1136{box-sizing:border-box;position:relative;display:flex;align-items:center;gap:10px;width:min(318px,100%);min-height:76px;padding:15px 12px 16px;border-bottom:1px solid #b8c7d1;color:#173f59;text-decoration:none;font-family:system-ui,sans-serif}
.tbx-1136__number{font-size:12px;font-weight:800;color:#bd7454}.tbx-1136__title{font-size:15px;font-weight:800;white-space:nowrap}
.tbx-1136__note{position:absolute;right:9px;bottom:100%;display:flex;flex-direction:column;gap:4px;padding:9px 11px;background:#174660;color:#fff;border-radius:7px;box-shadow:0 8px 20px #173f5930;opacity:0;transform:translateY(11px) scale(.9);transform-origin:bottom right;pointer-events:none;transition:opacity .3s,transform .38s}
.tbx-1136__note:after{content:"";position:absolute;bottom:-6px;right:17px;border:6px solid transparent;border-bottom:0;border-top-color:#174660}.tbx-1136__note b{font-size:9px;letter-spacing:.15em;color:#b7d7df}.tbx-1136__note span{font-size:11px;white-space:nowrap}
.tbx-1136:is(:hover,:focus-visible) .tbx-1136__note{opacity:1;transform:translateY(0) scale(1)}
.tbx-1136:focus-visible{outline:3px solid #a96c4c;outline-offset:3px}
@media (prefers-reduced-motion: reduce) { .tbx-1136, .tbx-1136 *, .tbx-1136::before, .tbx-1136::after, .tbx-1136 *::before, .tbx-1136 *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
How to Use
Insert the HTML and add the CSS to your stylesheet. Adjust colors and sizes and avoid class conflicts.
Use Case
Useful for editorial layouts and documentation sections.
Technical Notes
Keep controls usable on touch devices. Test keyboard focus and reduced-motion preferences.
Mobile: Ensure the interactive content remains accessible without hover on touch devices.
Browser: Uses modern CSS. Check behavior in the browsers you support.
Reduced Motion: Check that prefers-reduced-motion is respected.