You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently code indicates an image takes 33.3vw when on big screens (bigger than S breakpoint -> 960px). However, that's not entirely true given:
SCSS states swiper will take calc(100vw - 55ch). To allow text to take recommended size for lines to be readable. So images would take half of that. Which is almost 33.33vw. But not exactly that
SCSS states also that swiper won't exceed a certain height. So that the full image can be seen in screen. This is not taken into account when generating breakpoints for responsive images
So breakpoints are not exactly right. But good enough according to Lighthouse though 👍
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently code indicates an image takes
33.3vw
when on big screens (bigger thanS
breakpoint -> 960px). However, that's not entirely true given:calc(100vw - 55ch)
. To allow text to take recommended size for lines to be readable. So images would take half of that. Which is almost 33.33vw. But not exactly thatSo breakpoints are not exactly right. But good enough according to Lighthouse though 👍
Beta Was this translation helpful? Give feedback.
All reactions