Border, Box Shadow and Rounded Corners

2 min read Updated

Rounded corners, a soft box shadow and a thin border give a hover gallery a finished look. In Image Hover Effects Ultimate these settings are on the Style tab of each style. This guide shows where they are and what each field does.

Where to Find These Settings

  • General Settings (the item and its hover layer): Border Radius and Box Shadow, each with a Normal and a Hover tab, so the item can change when a visitor points at it.
  • Button Settings: Border, Border Radius, Box Shadow and Text Shadow for the button, again for Normal and Hover.
  • Heading Settings and Description Settings: Text Shadow.

The exact sections depend on the effect type; Flipbox, for example, has them on its Front and Back tabs.

Border Radius: Rounded Corners

Enter a value for each corner (Top, Right, Bottom, Left) in px, % or em, or click the link icon to change all four together. 0 gives sharp corners, 8 to 16 px a soft card look, and 50% turns a square item into a circle.

Box Shadow

Click the wrench next to Box Shadow:

The box shadow settings with Shadow, Type, Horizontal, Vertical and Blur
  • Shadow: turns the shadow on or off.
  • Type: Outline (around the item) or Inset (inside it, a darkened edge).
  • Horizontal and Vertical: where the shadow falls. A small positive Vertical value puts it below the item.
  • Blur and Spread: how soft and how large it is.
  • Color: usually black with low opacity, for example rgba(0,0,0,0.15).

A soft lift that suits most galleries: Outline, Horizontal 0, Vertical 4, Blur 12, Spread 0, color rgba(0,0,0,0.15). Set a stronger shadow on the Hover tab and the item seems to rise when a visitor points at it.

Border

Click the wrench next to Border and pick a Type: Solid, Dotted, Dashed, Double, Groove, Ridge, Inset, Outset or Hidden. None means no border. Once a type is picked, Width (per side) and Color appear.

The Border settings of the button with the Type list

Text Shadow

Text Shadow has Color, Blur, Horizontal and Vertical. A light shadow such as Horizontal 0, Vertical 1, Blur 3 in rgba(0,0,0,0.6) keeps white text readable on bright photos.

Tips

  • Give the item and its hover layer the same Border Radius, so no sharp corner shows on hover.
  • Keep shadows soft on flat, minimal sites; heavy shadows look dated.
  • Use one or two kinds of shadow per design, not all three at once.
  • On the free plan, the shadow and border Color fields are marked Pro Only; the other fields are free. See Free vs Pro.

Related guides: Colors, Gradients and Hover Background, Responsive Layout, Flip Box Hover Effects. How the CSS behind it works: MDN box-shadow.

Still stuck?

A developer who works on Image Hover Effects answers every ticket.

Open a ticket