sass-direction
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "sass-direction", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Sass mixins and functions to help creating bi-directional stylesheets.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -41,2 +41,4 @@ # Direction | ||
line-height: direction-if(rtl, 2); | ||
flex-direction: direction(row); | ||
justify-content: direction(flex-start); | ||
@@ -54,2 +56,8 @@ @include direction-if(ltr) { | ||
} | ||
direction: direction(rtl); | ||
& > span { | ||
direction: direction(ltr); | ||
} | ||
} | ||
@@ -78,7 +86,13 @@ ``` | ||
font-size: 1em; | ||
flex-direction: row; | ||
justify-content: flex-start; | ||
direction: rtl; | ||
} | ||
h1::before { | ||
content: "left to right"; | ||
} | ||
h1 > span { | ||
direction: ltr; | ||
} | ||
``` | ||
@@ -96,7 +110,12 @@ | ||
line-height: 2; | ||
flex-direction: row-reverse; | ||
justify-content: flex-end; | ||
direction: ltr; | ||
} | ||
h1::after { | ||
content: "right to left"; | ||
} | ||
h1 > span { | ||
direction: rtl; | ||
} | ||
``` | ||
@@ -103,0 +122,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5561
133