swiper-website icon indicating copy to clipboard operation
swiper-website copied to clipboard

Support of `rem` instead of `px` required

Open frankl7800 opened this issue 9 months ago • 0 comments

To meet the requirements of modern, barrier-free design - including the consideration of user-specific font size settings in the browser - all sizes are required in rem (depending on the current font size).

A website that has defined its media queries in rem can display tiles, masonry etc. in font size. A tile with text in 16px font size requires twice as much space for 32px font size.

Unfortunately, the breakpoint specifications for the swiper can only be entered in absolute pixel specifications, including other sizes such as spaceBetween.

frankl7800 avatar May 24 '24 09:05 frankl7800