Use screen.width inside calc (css)
You can use vw
units to size things in relation to viewport width, so try this:
left: calc(250px + 100vw - 1024px) !important;
100vw = 100% of viewport width
left:calc(250px + 100vw - 1024px)!important;
You can use vw
units to size things in relation to viewport width, so try this:
left: calc(250px + 100vw - 1024px) !important;
100vw = 100% of viewport width
left:calc(250px + 100vw - 1024px)!important;