Open tmjoen opened 1 year ago
if desktop_lg is 1440px, 50dpx is then (50 / 1440) * 100 = 3.472vw
desktop_lg
50dpx
(50 / 1440) * 100
3.472vw
if desktop_lg is 1440 and desktop_md is 1280.
desktop_md
desktop_lg: 50px@desktop_lg is then 50px desktop_md: 50px@desktop_lg is then (1280 / 100) * ((50 / 1440) * 100) = 44.44px
desktop_lg: 50px@desktop_lg
50px
desktop_md: 50px@desktop_lg
(1280 / 100) * ((50 / 1440) * 100)
44.44px
Dynamic px
if
desktop_lg
is 1440px,50dpx
is then(50 / 1440) * 100
=3.472vw
Relative px
if
desktop_lg
is 1440 anddesktop_md
is 1280.desktop_lg: 50px@desktop_lg
is then50px
desktop_md: 50px@desktop_lg
is then(1280 / 100) * ((50 / 1440) * 100)
=44.44px