html button size code example

Example 1: button size html

<button style="height:40px; width:40px;">Press Me</button>

Example 2: edit button html

<button style="height: 30px; background-color: none; border-radius:50%" id="edit_btn"> 
 <img src="https://www.flaticon.com/svg/static/icons/svg/61/61456.svg" style="height: 20px; width:15px; float:center; text-align: center" />
</button>`

Example 3: css size button

button {
  font-size: 20px; /* Put your wanted size for your button here*/
}

Example 4: html button size

transform: scale(4); /* This will make the component 4 times bigger  */

Example 5: button style css

<button class="pure-button">
    <i class="fa fa-cog"></i>Settings
</button>
<a class="pure-button" href="#">
    <i class="fa fa-shopping-cart fa-lg"></i>Checkout
</a>

Tags: