Problem: Screenshot frames.

Solution#

html
<div class="overflow-hidden rounded-xl border shadow-xl">
  <div class="flex items-center gap-2 border-b bg-slate-50 px-4 py-2 text-xs text-slate-400">🔒 nakshora.bsdc.info.bd</div>
  <div class="bg-white">screenshot</div>
</div>

Why this works#

URL bar + content area.

Variants#

  • Responsive: add screen prefixes to the core classes
  • Dark: pair each color utility with its dark: twin
  • Animated: add transition + a state variant for motion

cookbook/index|Cookbook index · utilities/index|Utilities reference · patterns/index|Layout patterns