Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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>
 
PREVIOUS NEXT
Tagged: #div #side #side #css #bootstrap
ADD COMMENT
Topic
Name
7+8 =