As I dive into the world of creating chrome extensions, I've successfully added buttons and styled them with CSS. Now, my challenge is to arrange these buttons in three columns and two rows. How can I achieve this?
Despite experimenting with various styling options and adjusting the 'position' property in CSS, I'm struggling to find a solution online.
.button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
<a href="https://google.co.uk" class="button">Button</a>
<a href="#" class="button">Button</a>
<a href="#" class="button">Button</a>
<a href="#" class="button">Button</a>
<a href="#" class="button">Button</a>
<a href="#" class="button">Button</a>
<a href="#" class="button">>Button</a>
I'm aiming to organize these buttons into rows and columns instead of having them all in a single row.