Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #8927
Closed
Open
Issue created Jul 31, 2013 by Administrator@rootContributor

Docs CSS Grid System Styling

Created by: mattnish

Your examples in the Grid System part of the CSS Docs need to have <div></div> tags inside of the col-*s. Right now, it looks funny because you have background colors on the col-lg-4 divs, and your padding-instead-of-margin-approach makes the colors extend beyond where it's supposed to.

In your examples you use....

<div class="col-lg-4 coloredBG">4</div>
<div class="col-lg-8 coloredBG">8</div>

But what you want is...

<div class="col-lg-4"><div class="coloredBG">4</div></div>
<div class="col-lg-8"><div class="coloredBG">8</div></div>
Assignee
Assign to
Time tracking