using media queries @media (min-device-width:1024px) if we give like this,it will check whether width is atleast 1024px or not.Is there any way that we can use the device-width in our css,in order to set the width of our application body to the device-width?
another way with Jquery i can do like this
$('body').css('width',screen.width)
Is there any way that we can set the width to current screen width using css without touching Js.?
body { width: 100vw }wherevwrefers to the width of the viewport.