how to increase button size in html code example

Example 1: button size html

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

Example 2: button css

<a href="#" class="myButton">green</a>

.myButton {
	background-color:#44c767;
	border-radius:28px;
	border:1px solid #18ab29;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:16px 31px;
	text-decoration:none;
	text-shadow:0px 1px 0px #2f6627;
}
.myButton:hover {
	background-color:#5cbf2a;
}
.myButton:active {
	position:relative;
	top:1px;
}

Example 3: 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 4: css size button

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

Example 5: change button size css

.test{
    height:200px;
    width:200px;
}

Example 6: html button size

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

Tags:

Misc Example