象行在bootstrap的

时间:2016-08-27 23:38:20

标签: html css html5 image twitter-bootstrap

我正在我的个人网站上工作,在我的技能部分,我想在容器的顶部放置一排图标。但是,当我尝试将row-fluid放在首位时,我会遇到问题。

我已附上相关代码和屏幕截图供参考。任何帮助表示赞赏!

w/out icons

with icons

<!--SKILLS DESCRIPTION -->
<div id="skillswrap">
    <div class="container">
        <div class="row">
            <div class="wow fadeIn" data-wow-duration="5s" data-wow-offset="100">
                <div class="col-lg-2 col-lg-offset-1">
                    <h4 style="color:white"><b>SKILLS</b></h4>
                </div>
                <div class="row-fluid">
                    <p><img class="img-responsive" src="Theme/assets/img/html5.png" alt="" style="zoom:60%"></p>
                </div>
                <div class="col-lg-3 centered">
                    <p><b>Front End Programming Skills</b></p>
                    <h5>HTML, CSS, JavaScript, Bootstrap, JQuery, AngularJS, Ionic Framework, D3
                        <br>

                </div>
                <div class="col-lg-3 centered">
                    <p><b>Scripting Language Skills</b></p>
                    <h5>Python, Ruby</h5>
                    <br>
                </div>
                <div class="col-lg-3 centered">
                    <p><b>Object Oriented Experience</b></p>
                    <h5>Java, C++</h5>
                    <br>
                </div>

                <div class="col-lg-3 col-lg-offset-3 centered">
                    <p><b>Communication</b></p>
                    <h5>Strong writing, collaborative and interpersonal skills.</h5>
                    <br>
                </div>
                <div class="col-lg-3 centered">
                    <p><b>Software</b></p>
                    <h5>Exposure to: Postman, JetBrains IDEs, Eclipse, Version control w/ Git, Adobe Creative
                        Suite.</h5><br>
                </div>
                <div class="col-lg-3 centered">
                    <p><b>Diverse Technical Skills</b></p>
                    <h5>Programming, agile methedologies, QA testing, content management, data analytics</h5>
                    <br>
                </div>

            </div><!--/.row -->
            <br>
        </div><!--/.container -->
    </div>
</div><!--/ #skillswrap -->

1 个答案:

答案 0 :(得分:1)

您要么拥有offsetpush引导类来推动图像正确,即:将col-lg-offset-1添加到类,

OR

通过position css属性自行完成,即:position:relative;left:10px

http://getbootstrap.com/css/有关如何使用偏移量,推送类的更多信息。