Here’s I got so far: (https://phpout.com/wp-content/uploads/2024/03/nAkhB.png)
Here’s my HTML:
<h2 class="section-title">BUTTONS</h2>
<div class="buttons">
<div class="button-default">
<small class="btn-label">Default</small>
<button>Primary Button</button>
<button>Secondary Button</button>
</div>
<div class="button-hovered">
<small class="btn-label">Hovered</small>
<button>Primary Button</button>
<button>Secondary Button</button>
</div>
</div>
I want it to look like this: (https://phpout.com/wp-content/uploads/2024/03/BTD0u.png)
2
Answers
You can use a table like this:
Add the following css:
Also, update your HTML to be like this.
This will achieve the side-by-side positioning