-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should there be scale-x and scale-y? #16
Comments
@joeldbirch Can you give me some use-cases for only wanting to scale 1 axis? You can always use the existing
Does anyone use the |
When separating inline lists with pseudo generated bar/pipe characters, I like to be able to stretch them taller with `scaleX`.
I didn’t realise `scale` took three values like `scale3D`. That should do the trick for now, then!
Thanks.
… On 5 Oct 2019, at 8:44 pm, Matt Stow ***@***.***> wrote:
@joeldbirch Can you give me some use-cases for only wanting to scale 1 axis?
You can always use the existing scale class as you suggest for scale3d too like so:
$hu-scale-modules: (base);
$hu-scale-types: (
x1_5y1_3: (1.5, 1.3),
varXvarY: (var(--x), var(--y)),
);
->
.\&\:hocus--scale\:x1_5y1_3 {
transform: scale(1.5, 1.3) ;
}
.\&\:hocus--scale\:varXvarY {
transform: scale(var(--x), var(--y)) ;
}
Does anyone use the z axis?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per subject line. I often use
scale-x
andscale-y
separately. I suppose an alternative to adding more placeholders (if that's a concern) could be to replace the existingscale
classes withscale3d
behind the scenes, which would allow users to set custom properties with access to all scale axes.PS. I notice
skew
is missing also.The text was updated successfully, but these errors were encountered: