An open API service indexing awesome lists of open source software.

https://github.com/firedev/utility-layout

Layout utilities module for Basscss
https://github.com/firedev/utility-layout

Last synced: 8 months ago
JSON representation

Layout utilities module for Basscss

Awesome Lists containing this project

README

          

Change the default document flow with these display, float, and other utilities.

## Display

To adjust the display of an element, use the `.block`, `.inline`, and `.inline-block` utilities.

```html

inline

inline-block

block

table-cell

table-cell


```

## Overflow

To adjust element overflow, use `.overflow-hidden`, `.overflow-scroll`, and `.overflow-auto`.
`.overflow-hidden` can also be used to create a new block formatting context or clear floats.

## Floats

Use `.clearfix`, `.left`, and `.right` to clear and set floats.

```html


.left

.right


```

## Widths

Use `.fit` to set max-width 100%. `.full-width` and `.half-width` set widths to 100% and 50% respectively.

## Media Object
Create a media object using basic utilities.

```html


Image


Body Bacon ipsum dolor sit amet chuck prosciutto landjaeger ham hock filet mignon shoulder hamburger pig venison.




```

## Double-Sided Media Object
For a container with a flexible center, use a double-sided media object.

```html


Image

Image


Body Bacon ipsum dolor sit amet chuck prosciutto landjaeger ham hock filet mignon shoulder hamburger pig venison.




```