# Margin and Padding

The Margin and Padding property allows you to specify the space inside and outside an element; the Margin property controls the space outside an element, and the Padding property controls the space inside an element.

## Modify

* Select an accordion block.
* Open the Block Inspector.
* Navigate to the Primary tab.
* Open the Margin and Padding tab.
* Modify as required.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIHkx9ynlrpbLSNFu97S9%2Faccordion%20margin%20and%20padding.jpg?alt=media&#x26;token=586bd84d-cc62-43cf-a78f-e42eb19d1d1b" alt=""><figcaption></figcaption></figure>

## Reset

* Click dot(s) to reset.

{% content-ref url="../../design/margin-and-padding" %}
[margin-and-padding](https://docs.cwicly.com/design/margin-and-padding)
{% endcontent-ref %}
