The input overflows the parent container when the text is too long.
I am looking at how to wrap the text inside of the element. I tried word-break
, text-wrap
but nothing worked.
<div>
<input type="submit" name="test" class="submit" value="sample text sample text sample text sample text sample text sample text sample text sample text">
</div>