Skip to content

The size utility contains a set of classes for setting width in elements or grid columns.

License

Notifications You must be signed in to change notification settings

iotacss/utilities.size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iotaCSS is now a monorepo and all individual repositories are part of it. Please open issues or PRs here: https://github.com/iotacss/iotacss.

Size Utility

The size utility contains a set of classes for setting width in elements or grid columns. The sizes created are based on the Settings.Column.

Installation

npm install --save iotacss-utils-size

Options

$iota-utils-size-namespace    : '' !default;

$iota-utils-size-columns      : $iota-global-columns !default;

$iota-utils-size-delimiter    : \/ !default;

$iota-utils-size-res          : false !default;
$iota-utils-size-breakpoints  : $iota-global-breakpoints !default;

Classes

.u-[column-number]/[total-column-number]  // Example .u-1/3


// Responsive Class Syntax

.u-[column-number]/[total-column-number]@[breakpoint-name]  // Example: .u-1/3@sm

About

The size utility contains a set of classes for setting width in elements or grid columns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages