> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brandblox.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a border or shadow to a Container

> Make cards and sections stand out from the email background

# Add a border or shadow to a Container

Give a card or section a border and a soft shadow so it stands out from the email background.

## Before you start

* Open an email in **Design** mode.
* Select a **Container** on the canvas, or drag one in from **Components**. You can add a Container to any Blox. Card layouts already include a Container.

## Steps

1. With the Container selected, open the **Settings** tab.
2. To add a border, turn on **Border**.
3. Choose a **Border Style**: **Solid**, **Dashed** or **Dotted**.
4. Set the width of each side. Lock the sides together if you want them all the same.
5. Click the colour square next to a side and pick a brand colour. To clear it, pick the no-colour swatch at the end of the palette.
6. To add a shadow, turn on **Box Shadow**.
7. Drag the **Shift X**, **Shift Y**, **Blur**, **Spread** and **Opacity** sliders.
8. Open **Colour** and pick a brand colour for the shadow, or the no-colour swatch to clear it.

Your changes show on the canvas straight away. There's nothing extra to save.

## Good to know

* Turning **Border** or **Box Shadow** off hides the effect but keeps your settings for when you turn it back on.
* Set a **Radius** to round the corners. Rounded corners and a border work well together for cards.
* Shadows show in Apple Mail, iOS Mail and many webmail inboxes. Outlook for Windows usually ignores them, so use a background colour or border as well when the separation matters.

## Related

* [Create an email](https://docs.brandblox.app/emails/how-to-create-an-email.md)
* [Set your email's background](https://docs.brandblox.app/emails/how-to-set-email-background.md)
* [Buttons](https://docs.brandblox.app/brands/buttons.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.