简体   繁体   中英

How to fix row alignment issue in bootstrap/Javascript

Github repo ( https://github.com/teke85/Luxury_living/tree/add-home-page )

In my bootstrap project I successfully managed to retrieve data dynamically from a javascript object. I noticed that the last row is not aligned correctly. how do i fix this or what could have caused the misalignment? Please note , The issue wasn't there before I fetched the data dynamically using Javascript. 在此处输入图像描述

If you are using the newest version, you can do something like this:

<div class="container">
    <div class="row">
        <div class="col">
            Content for column 1
        </div>
        <div class="col">
            Content for column 2
        </div>
    </div>
</div>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM