ALF Classes
There are a number of general classes in ALF, here's a categorized list:
Text alignment
left
: text-align leftright
: text-align rightcenter
: text-align centernowrap
: prevent text-wrap (i.e. in tables)
Font sizes
txt-xxs
: extra extra smalltxt-xs
: extra smalltxt-s
: smalltxt-m
: medium (like the standard paragraph size)txt-l
: largetxt-xl
: extra largetxt-xxl
: extra extra large
Responsive
hide
: hide the element (withdisplay: none
)hide-phone-small
: hide for phone-smallhide-phone
: hide for phone and phone-smallhide-tablet
: hide for tablethide-web
: hide for web and web-largeonly-phone
: only show for phone and phone-smallonly-tablet
: only show for tabletonly-web
: only show for web and web-large
This is only in phone-down
This is only in tablet
This is only in web-up
Misc
scroller
: use in a DIV surrounding other content, to force horizontal scroll, should the content become too large for the available width. This is useful for responsive purposes (i.e. to wrap a long table).
Loremipsumdolorsitametconsecteturadipisicingelit | Loremipsumdolorsitametconsecteturadipisicingelit | Loremipsumdolorsitametconsecteturadipisicingelit | Loremipsumdolorsitametconsecteturadipisicingelit | Loremipsumdolorsitametconsecteturadipisicingelit | Loremipsumdolorsitametconsecteturadipisicingelit | Loremipsumdolorsitametconsecteturadipisicingelit | Loremipsumdolorsitametconsecteturadipisicingelit | Loremipsumdolorsitametconsecteturadipisicingelit |