frontendhack-logo

Focus Ring Blue is a hard-edged CSS box shadow from the Rings & Outlines collection, built from a single layer and a colored tint. The largest blur radius is 0px. Copy the code below and paste it into any element.

box-shadow: 0px 0px 0px 3px rgba(59, 130, 246, 0.5);

Edit in generator All box shadow examples

Shadow values

#TypeXYBlurSpreadColorOpacity
1outer0px0px0px3px#3B82F60.5

How to use it

.card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0px 0px 0px 3px rgba(59, 130, 246, 0.5);
}

More Rings & Outlines examples

Frequently Asked Questions

Copy the box-shadow line and paste it into the CSS rule of the element you want to style, for example a card, button or image wrapper. The example is shown on a #F3F4F6 background with a #FFFFFF element and 12px rounded corners.

Yes. Open it in the box shadow generator, adjust the sliders and color, and copy the updated code.

This example is designed for light backgrounds. On very dark backgrounds a black shadow becomes hard to see, so raise the opacity or switch to a glow style.