Is it possible to make two of my main buttons the same size? I'm just starting out in web development and could use some guidance. Below is the HTML and CSS code I currently have for my index.html:
<body>
<div>
<img src="img/projectfly-logo.svg">
<p class="center">We're upgrading!</p>
<div class="center">
<a href="#"><h1 class="button1"><i class="fas fa-bell"></i> Update</h1></a>
<h1 class="button2"><a href="#"><i class="fab fa-paypal"></i> Support the project</a></h1>
<div>
</div>
I've also created a center class and defined styles for two different button classes:
.button1 {
padding: 20px 60px;
background-color: #00B056;
border-radius: 300px;
display: inline-block;
}
.button2 {
padding: 20px 60px;
background-color: grey;
border-radius: 300px;
display: inline-block;
}
.center{
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
You can view the output here: