Scale A Rectangle In Html And Css August 07, 2024 Post a Comment I want to make a rectangle (a div) with a specific scale. The height-width scale has to be 30:50. The rectangle fills 40% of the width-screen. If I resize my screen, how can I chanSolution 1: Try scaling it using vw (viewport width):#bg { background-color: blue; width: 40vw; height: 66.67vw; } Copyhttps://jsfiddle.net/gmsitter/9tpbq30x/1/ Baca JugaDiv Adding Redirect And Background Image From Code Behind In Asp.netIs It Possible To Extend A H2 Box In Css Depending On The Text Within It?How To Create A Pop-up Div On Mouse Over And Stay When Click Share You may like these postsBest Method Of Scaling Text To Fill An Html5 CanvasUsing Input Type="range" To Scale An ImageCycle Scaled Webpages In Iframe?Background Image Full Width And Height Post a Comment for "Scale A Rectangle In Html And Css"
Post a Comment for "Scale A Rectangle In Html And Css"