Replies: 1 comment
-
Is this past of best practices? Breakpoints are meant to be fixed breaking points with pixel values, not relative values, I think. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Everyone,
According to documentation: "options", I see that I can add different breakpoints for this slider. It works very well. I did check the type that breakpoint value also can be a string? Is that correct?
See link attached:
https://splidejs.com/guides/options/#breakpoints
{ perPage: 4, breakpoints: { 640: { perPage: 2, }, } }
My question now: Can I use string for REM there? Instead of 640, I want to set: '40rem'. I see that this doesn't work. Any idea why?
{ perPage: 4, breakpoints: { '40rem': { perPage: 2, }, } }
Beta Was this translation helpful? Give feedback.
All reactions