mirror of
https://github.com/jgthms/bulma
synced 2026-03-22 13:04:29 -07:00
Add extensions
This commit is contained in:
@@ -50,6 +50,29 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
|
||||
|
||||
// Text
|
||||
|
||||
@each $size in $sizes
|
||||
$i: index($sizes, $size)
|
||||
.is-size-#{$i}
|
||||
font-size: $size
|
||||
+mobile
|
||||
.is-size-#{$i}-mobile
|
||||
font-size: $size
|
||||
+tablet
|
||||
.is-size-#{$i}-tablet
|
||||
font-size: $size
|
||||
+touch
|
||||
.is-size-#{$i}-touch
|
||||
font-size: $size
|
||||
+desktop
|
||||
.is-size-#{$i}-desktop
|
||||
font-size: $size
|
||||
+widescreen
|
||||
.is-size-#{$i}-widescreen
|
||||
font-size: $size
|
||||
+fullhd
|
||||
.is-size-#{$i}-fullhd
|
||||
font-size: $size
|
||||
|
||||
.has-text-centered
|
||||
text-align: center !important
|
||||
|
||||
|
||||
Reference in New Issue
Block a user