-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add support to decimal values / floats #3
Comments
This would be good, but can severely compromise the performance. |
Maybe you could give up the universality for resolution. What I mean: |
I just realized a possible solution: |
@gkusnir that is an interesting approach, but it would make the API quite confusing. I would love to allow devs to simply write classes and let the lib handle it. |
What about giving the user control over the lib performance? a. let users define in a boolean property if they want float classes. |
Actual code does not provide a right way to set decimal vh or vw values.
Sometimes is required because content needs to be adjusted in not integer values.
I suggest something like this:
.vw_font-size15 -- As actual code does 15% of vw.
.vw_font-size15_35 -- As 15.35% of vw.
The text was updated successfully, but these errors were encountered: