Is there a way to resize a button in jQuery, I want the button to stretch across 70% of the page, but if I put width="70%" in the buttons tag, it still doesn’t work, can someone please explain how to? Thanks 🙂
This doesn’t work:
<a href="page.html" data-role="button" width="70%">Btn Name</a>
You can do it with CSS:
You should include the CSS class in your markup: