Sizing functions and properties
- Source:
Rulesets and Variables
(variable) @sizingbasesize :number
Base font size in pixels Used to calculate em / rem
- Default Value:
- 16
- Source:
Methods
.border(args)
Outputs remified border
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.border-bottom(args)
Outputs remified border-bottom
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.border-bottom-width(args)
Outputs remified border-bottom-width
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.border-left(args)
Outputs remified border-left
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.border-left-width(args)
Outputs remified border-left-width
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.border-right(args)
Outputs remified border-right
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.border-right-width(args)
Outputs remified border-right-width
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.border-top(args)
Outputs remified border-top
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.border-top-width(args)
Outputs remified border-top-width
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.bottom(args)
Outputs remified bottom
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.font-size(args)
Outputs remified font-size
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.height(args)
Outputs remified height
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.left(args)
Outputs remified left
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.margin(args)
Outputs remified margin
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.margin-bottom(args)
Outputs remified margin-bottom
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.margin-left(args)
Outputs remified margin-left
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.margin-right(args)
Outputs remified margin-right
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.margin-top(args)
Outputs remified margin-top
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.max-height(args)
Outputs remified max-height
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.max-width(args)
Outputs remified max-width
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.min-height(args)
Outputs remified min-height
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.min-width(args)
Outputs remified min-width
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.padding(args)
Outputs remified padding
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.padding-bottom(args)
Outputs remified padding-bottom
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.padding-left(args)
Outputs remified padding-left
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.padding-right(args)
Outputs remified padding-right
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.padding-top(args)
Outputs remified padding-top
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.px(size)
Outputs px value based on @sizingbasesize
Parameters
Name | Type | Description |
---|---|---|
size |
number | Rem unit |
- Source:
.rem(size)
Outputs rem value
Parameters
Name | Type | Description |
---|---|---|
size |
number | Unit |
- Source:
.right(args)
Outputs remified right
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.size(type, units)
Outputs rem value with em and px fallbacks for a particular property
Parameters
Name | Type | Description |
---|---|---|
type |
string | Property to be sized |
units |
string | Value for property |
- Source:
.top(args)
Outputs remified top
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source:
.width(args)
Outputs remified width
Parameters
Name | Type | Description |
---|---|---|
args |
string | Units to pass through to .size |
- Source: