Add logical properties

This commit is contained in:
Jeremy Thomas
2020-03-23 13:10:29 +00:00
parent 4af9686eb0
commit 0f6af6105c
21 changed files with 109 additions and 73 deletions

View File

@@ -75,3 +75,4 @@ $speed: 86ms !default
// Flags
$variable-columns: true !default
$rtl: false !default

View File

@@ -128,6 +128,26 @@
@media screen and (min-width: $fullhd)
@content
=ltr
@if not $rtl
@content
=rtl
@if $rtl
@content
=inset-inline-start($spacing)
@if $rtl
right: $spacing
@else
left: $spacing
=inset-inline-end($spacing)
@if $rtl
left: $spacing
@else
right: $spacing
// Placeholders
=unselectable