Bootstrap网格表

时间:2016-08-07 10:43:55

标签: html5 css3 bootstrap-modal

我怎样才能画画? 第一盒黑色col-lg-2 第二盒红色col-lg-4 第三盒col-lg-6>包含(一个绿色框col-lg-8)                              ([[v_0, v_1, v_2, v_3, v_4, v_5, v_6], [v_7, v_8, v_9, v_10, v_11, v_12, v_13], ...] col-lg-4中的4个蓝框)

就像这张照片

enter image description here

2 个答案:

答案 0 :(得分:0)

您可以轻松嵌套列。试着这样做:

<div class="row">
    <div class="col-lg-2">black</div>
    <div class="col-lg-4">red</div>
    <div class="col-lg-6">
        <div class="row">
            <div class="col-lg-8">green</div>
            <div class="col-lg-4">blue</div>
        </div>
        <div class="row">
            <div class="col-lg-4">blue</div>
            <div class="col-lg-4">blue</div>
            <div class="col-lg-4">blue</div>
        </div>
    </div>
</div>

答案 1 :(得分:0)

我写这个作为答案,因为我无法发表评论。

您还可以将org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'componentRetrievalController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.ge.power.bis.managers.ComponentRetrievalManager com.ge.power.bis.controllers.ComponentRetrievalController.componentRetrievalManager; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.ge.power.bis.managers.ComponentRetrievalManager] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapable - 元素放在嵌套的li中,并附加row - 元素。