# Custom Properties
# @Property
- Mixin:
@include property($attribute, $space-units)
You can use almost any property you want to support Space-Units. For example text-indent
based on Space-Units.
# Example text-indent
3 space-units text-indent
Special
.example-element {
@include property('text-indent', 3);
}
# Example border-width
1 space-units border-width
Special Example element
.example-element {
@include property('border-width', 1);
border-color: rgba(red, 0.5);
border-style: solid;
}
# Example letter-spacing
Each letter has its own width, because of that the letter themself won't align on the grid. The space between the letters is however exactly 1 space unit.
1 space-unit letter-spacing
.example-element {
@include property('letter-spacing', 1);
}