Easy way to see the Bootstrap grid?

后端 未结 7 1709
自闭症患者
自闭症患者 2021-02-02 08:20

I am playing with a simple HTML page using Bootstrap and I would love to have a way to visualize the columns, as in see them \"underneath\" the actual content as a different sha

相关标签:
7条回答
  • 2021-02-02 09:20

    Updated Sherbrow's answer for Bootstrap 3:

    div[class="row"] {
        outline: 1px dotted rgba(0, 0, 0, 0.25);
    }
    
    div[class^="col-"] {
        background-color: rgba(255, 0, 0, 0.2);
        outline: 1px dotted rgba(0, 0, 0, 0.5);
    }
    
    0 讨论(0)
提交回复
热议问题