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

Responsive API #12

Open
janstieler opened this issue Mar 24, 2018 · 3 comments
Open

Responsive API #12

janstieler opened this issue Mar 24, 2018 · 3 comments
Assignees

Comments

@janstieler
Copy link

Hi,
is it possible to use a responsive girdoverlay with the API?

Cheers

@Angelmmiguel
Copy link
Owner

Hello @janstieler,

I'll try to revisit this. I tried to implement the responsive grid but I found some issues due to the background-position calculation: https://codepen.io/angelmm/pen/LxyoeM. In the codepen, the red bar should be the same as the gray column behind it.

@janstieler
Copy link
Author

Hi,
oaky thats an impression calculation :).
I don't know if calc gets problems with this nested calculations. I used it only for simple arithmetik before.
Actually I have no idea how I can help you.

@Angelmmiguel
Copy link
Owner

oaky thats an impression calculation :).

All the calculations are done using a mixin ;) https://github.com/Angelmmiguel/graaf/blob/master/graaf.scss#L4. I need to review the approach I followed for the responsive API. If it doesn't work, I'll need to think on solution that not use calc to make it works.

Actually I have no idea how I can help you.

No problem! It would be really nice if you can test it once it's available :D

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