Skip to main content

Padding

Due to the fact that Exposer supports and uses the UIkit 3 framework, a lot of helpful CSS classes are provided by UIkit 3 can be used by you. This page is a simple overview of the most common classes you can use in Exposer. You can find a complete list at getuikit.com

Usage

To apply this component, add one of the following classes to a block element.

ClassDescription
.uk-padding Adds default padding to the element.
.uk-padding-small Adds small padding to the element.
.uk-padding-large Adds large padding to the element.
<div class="uk-padding"></div>

Remove padding

In some cases you want to remove padding from an element, rather than adding it. To do so, apply one of the following classes.

ClassDescription
.uk-padding-remove Removes all padding from an element.
.uk-padding-remove-top Removes top padding from an element.
.uk-padding-remove-bottom Removes bottom padding from an element.
.uk-padding-remove-left Removes left padding from an element.
.uk-padding-remove-right Removes right padding from an element.
.uk-padding-remove-vertical Removes top and bottom padding from an element.
.uk-padding-remove-horizontal Removes left and right padding from an element.

Other Articles