Answer the question
In order to leave comments, you need to log in
Grid in bootstrap, what am I doing wrong?
Hello!
Please tell me colleagues, I ran into a problem in Bootstrap in a project on Meteor. Installed bootstrap with meteor add bootstrap command. I need to make a grid, two columns of equal width. I do it like this:
<head>
<meta charset="utf-8">
<title>Аггрегатор новостей</title>
<link href="styles/main.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-md-6">.col-md-6</div>
<div class="col-md-6">.col-md-6</div>
</div>
</div>
</body>
Answer the question
In order to leave comments, you need to log in
Thank you!
In Meteor, as far as I can read, css for bootstrap does not need to be included. He does it automatically.
And the strange thing is that container or container-fluid works, you can see it, but for some reason grid doesn't.
I'll try to dig some more.
Answered on Stackoverflow. It turns out that the old bootstrap 2.3 is installed in Meteor by default for reasons that are still unclear to me. Therefore, it turned out that some work and some do not work. It is treated by removing the default package and installing the latest bootstrap from atmosphere https://atmospherejs.com/mizzao/bootstrap-3
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question