# Padding / Margins

{% embed url="<https://www.youtube.com/watch?v=d5ug-EUwu6U>" %}

Flexi treats spacing differently than most themes by giving you both quick controls and advanced flexibility.

{% stepper %}
{% step %}

#### Basic Spacing

Use the built-in px slider to set spacing for top, right, bottom, and left. This is the fastest way to make precise adjustments.
{% endstep %}

{% step %}

#### Custom Spacing

Switch to the custom setting if you want more control. Here you can enter values like:

* 4rem
* 20px 16px
* 2em auto

This option is perfect for applying responsive or shorthand CSS values.
{% endstep %}

{% step %}

#### Developer Mode

For full customization, enable Developer Mode, pass in a custom class, and then write your own CSS. This gives you unlimited flexibility and lets you reuse spacing styles across sections.
{% endstep %}
{% endstepper %}

With these options, Flexi makes it easy to keep layouts consistent while still allowing for highly custom designs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://flexi-library.gitbook.io/flexi-slider-sections/docs/padding-margins.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
