Answers for "place two div side by side bootstrap 1:3"

1

div side by side css without bootstrap

<style>
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
</style>
<div class="grid-container">
    <div class="grid-child purple">
        Grid Column 1
    </div>
    <div class="grid-child green">
        Grid Column 2
    </div>
</div>
Posted by: Guest on May-24-2021

Code answers related to "place two div side by side bootstrap 1:3"

Browse Popular Code Answers by Language