I am setting the max width on an object, and it works. When I add resize: both to the element, it does not allow me to stretch the element bigger than the max width. This makes sense, but is there anyway to allow the user to stretch the element bigger than the max width.
resize: both
Code:
<div> <div style="display: inline-block; vertical-align: top; max-width: 15vw; padding: 2vw; margin: 2vw; resize: both; overflow: auto; border: 1px solid black"> <p>HiHiHiHiHiHiHi</p> </div> </div>
1.4m articles
1.4m replys
5 comments
56.9k users