Class | Description |
---|---|
.text-align-start
.text-align-end
.float-start
.float-end
.p--0-start
.p--0-end
.m--0-start
.m--0-end
.m-auto-start
.m-auto-end
.b--0-start
.b--0-end
.rtl-scalex-1
.rtl-scalex-n1
|
LTR = left to right
*-start = always left on LTR ; always right on RTL. .text-align-start LTR: text-left , RTL: text-right .text-align-end LTR: text-right , RTL: text-left .float-start LTR: float-left , RTL: float-right .float-end LTR: float-right , RTL: float-left .p--0-start LTR: padding-left: 0 , RTL: padding-right: 0 .p--0-end LTR: padding-right: 0 , RTL: padding-left: 0 .m--0-start LTR: margin-left: 0 , RTL: margin-right: 0 .m--0-end LTR: margin-right: 0 , RTL: margin-left: 0 .m-auto-start LTR: margin-left: auto , RTL: margin-right: auto .m-auto-end LTR: margin-right: auto , RTL: margin-left: auto .b--0-start LTR: border-left: 0 , RTL: border-right: 0 .b--0-end LTR: border-right: 0 , RTL: border-left: 0
Please note: the entire Smarty is developed from scratch in "dual mode". Is writen for both: LTR and RTL using @if conditionals.
When you build your project (scss/gulp), according to your variables.scss settings, the output will be LTR or RTL.
These very few additional classes you see above, are the most common ones, helping you to avoid common confusions.
As an example:
The beauty: if you are a developer and don't speak arab, develop the website in LTR mode and when you are done, just switch This is how Smarty is written:
.float-start {
This is a tiny example of code, but everything is written this way: header, components, etc! All floats, paddings, margins are using conditionals to be generated for LTR or RTL. |