html - 制作一个 div 框中心 Bootstrap

标签 html css twitter-bootstrap

<分区>

 <div class="col-md-6"> <h1>however I am working on the way you can see the attached file is scanned</h1><p>may I ask for your time pe daal Dena hill the other day and I am working on it and I am working on it and I am working on it and it was best which was thinking the other side me to do</p></div>

我想把这个 col-md-6 div 放在一行的中间。

最佳答案

在你的 div 上添加一个自定义类并试试这个:

.custom-class {
     float: none;
     margin: auto 0;
}

关于html - 制作一个 div 框中心 Bootstrap ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49122453/

上一篇:css - 按钮和链接样式表现不同

下一篇:html - 仅使用 css 在代码块上显示行号

相关文章:

html - 如何制作响应式 Bootstrap 下拉按钮?

javascript - Twitter Bootstrap 的事件处理程序下拉发送值?

jquery - 如何使用 jQuery 和 bootstrap css 实现 Expand collapse Side Nav with icon

php - 捕获动态表中 HTML 元素的值

javascript - ClearInterval() 不起作用有人知道为什么吗?

twitter-bootstrap - Bootstrap 4 列排序难题

html - 如何在 div 标签之间留出垂直空间?

css - Bootstrap 3.0 中的自定义第一个 child

css - Bootstrap 不会显示默认图标和超赞字体图标

html - 如何使用css在图片上方显示文字