mirror of
https://github.com/jgthms/bulma
synced 2026-03-22 21:14:30 -07:00
Add logical properties
This commit is contained in:
@@ -75,3 +75,4 @@ $speed: 86ms !default
|
||||
// Flags
|
||||
|
||||
$variable-columns: true !default
|
||||
$rtl: false !default
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user