Center

Put element in Center

Syntax (custom)

```other code
    center : "center",
```

Syntax

.center

Puts element in center horizontally

Compiled as

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

Last updated