I'm learning to make chrome extensions and I have added buttons and styled them with CSS. How do I make three columns and two rows of buttons?
I've tried changing the styling and playing with 'position' in CSS but I can't find anything on the internet.
.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 am trying to get rows and columns of these buttons instead of just one row of all these buttons.