Answers for "how to create side by side div in bootstrap"

2

bootstrap side by side columns

<div class="container">
    <div class="row">
        <div class="col-xs-6">
            ONE
        </div>
        <div class="col-xs-6">
            TWO
        </div>
    </div>
</div>
Posted by: Guest on March-04-2021
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 "how to create side by side div in bootstrap"

Browse Popular Code Answers by Language