Skip to content
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

DEPRECATION WARNING: Using / for division is deprecated #53

Open
philwilliammee opened this issue Mar 11, 2022 · 0 comments
Open

DEPRECATION WARNING: Using / for division is deprecated #53

philwilliammee opened this issue Mar 11, 2022 · 0 comments

Comments

@philwilliammee
Copy link

philwilliammee commented Mar 11, 2022

Sass currently treats / as a division operation in some contexts and a separator in others. This makes it difficult for Sass users to tell what any given / will mean, and makes it hard to work with new CSS features that use / as a separator.

more info
https://sass-lang.com/documentation/breaking-changes/slash-div

for example replace

padding-left: ($grid-gutter-width / 2);

with

padding-left: math.div($grid-gutter-width, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants