简体   繁体   English

使用fullpage.js进行引导

[英]Bootstrap with fullpage.js

Hey i am pretty new to both bootstrap and fullpage.js, the issue i am having is the want to load multiple images using the grid system from bootstrap within one of my sections, i currently have multiple sections working however this issue with images has proved a bump in my road. 嘿,我对bootstrap和fullpage.js都还很陌生,我遇到的问题是想在我的一个部分中使用Bootstrap从网格系统加载多个图像,我目前有多个部分在工作,但是事实证明这个图像问题我路上的颠簸。

<div class="section">

            <div class="jumbotron">
            <div class="container">
            <h1>Tree Kangaroos</h1>
            <p>What are they exactly?</p>
            </div>
            </div>

            <div class="container">
            <div class="row">
            <div class="col1-sm-4">
            <img src="images/face.png" />
            </div>
                <div class="row">
                <div class="col1-sm4">
                    <img src="images/face.png" />
                        </div>
                        </div>
                        </div>
                        </div>





        </div>      

This is the code i am having trouble with, everything else implemented so far with fullpage is working and there is no java script included with bootstrap(to my knowledge) so i have not shown the entirety of my code as its rather large my jumbotron is also working so i'm guessing bootstrap is working as intended and the issue is with my coding itself. 这是我遇到的麻烦的代码,到目前为止,用整页实现的所有其他功能都可以正常工作,并且bootstrap中不包含任何Java脚本(据我所知),因此我没有显示完整的代码,因为我的jumbotron很大也可以正常工作,所以我猜bootstrap正在按预期工作,而问题出在我的编码本身。

The exact issue is that my images stack on top of each other rather than horizontally. 确切的问题是我的图像彼此堆叠而不是水平堆叠。

Your problem is with your columns those are not valid bootstrap classes.. 您的问题是列无效的引导类。

Col-md-4 is what you are looking for. Col-md-4是您想要的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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