hstack-vstack-css
hstack-vstack-css copied to clipboard
Thanks! And a question.
This is super stuff for HTML/CSS for C++ people like myself. Congratulations on making it so simple. Thank you.
Question: How does one nest these styles? For example, stack 3 rows of buttons, each of which is centered in the page? Thanks again for listening.
<div class="flex vstack">
<div class="flex hstack">
<div>
<button onclick="callit('callout1','data1')">Click callout1 </button>
</div>
<div>
<button onclick="callit('callout2','data2')">Click callout2 </button>
</div>
<div>
<button onclick="callit('callout3','data3')">Click callout3 </button>
</div>
</div>