# Margin

{% hint style="info" %}
Since `1.0.0`
{% endhint %}

## Class

```css
.margin--{ auto | t | r | b | l | a }--{number}
```

```css
.m{ t | r | b | l | a }--{number}
```

## Code Sample

#### Margin top = 4 unit

```markup
<p class="mt--4 bg--gainsboro rounded--6 pa--1">
    Paragraph section with <kbd>.mt--4</kbd> or <kbd>.margin--t--4</kbd> class.
</p>
```

#### Margin right = 4 unit

```markup
<p class="margin--r--4 bg--gainsboro rounded--6 pa--1">
    Paragraph section with <kbd>.mr--4</kbd> or <kbd>.margin--r--4</kbd> class.
</p>
```

#### Margin bottom = 4 unit

```markup
<p class="mb--4 bg--gainsboro rounded--6 pa--1">
    Paragraph section with <kbd>.mb--4</kbd> or <kbd>.margin--b--4</kbd> class.
</p>
```

#### Margin left = 4 unit

```markup
<p class="margin--l--4 bg--gainsboro rounded--6 pa--1">
    Paragraph section with <kbd>.ml--4</kbd> or <kbd>.margin--l--4</kbd> class.
</p>
```

#### Margin = 4 unit

```markup
<p class="ma--4 bg--gainsboro rounded--6 pa--1">
    Paragraph section with <kbd>.ma--4</kbd> or <kbd>.margin--4</kbd> class.
</p>
```

## Variable

| Class                                            | Properties      |
| ------------------------------------------------ | --------------- |
| `.margin--{ auto \| t \| r \| b \| l \| a }--1`  | `margin: 1rem`  |
| `.margin--{ auto \| t \| r \| b \| l \| a }--2`  | `margin: 2rem`  |
| `.margin--{ auto \| t \| r \| b \| l \| a }--3`  | `margin: 3rem`  |
| `.margin--{ auto \| t \| r \| b \| l \| a }--4`  | `margin: 4rem`  |
| `.margin--{ auto \| t \| r \| b \| l \| a }--5`  | `margin: 5rem`  |
| `.margin--{ auto \| t \| r \| b \| l \| a }--6`  | `margin: 6rem`  |
| `.margin--{ auto \| t \| r \| b \| l \| a }--7`  | `margin: 7rem`  |
| `.margin--{ auto \| t \| r \| b \| l \| a }--8`  | `margin: 8rem`  |
| `.margin--{ auto \| t \| r \| b \| l \| a }--9`  | `margin: 9rem`  |
| `.margin--{ auto \| t \| r \| b \| l \| a }--10` | `margin: 10rem` |


---

# 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://docs.gorangocss.kawanua.id/utilities/margin.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.
