markdown BS表格

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown BS表格相关的知识,希望对你有一定的参考价值。

### BS Forms
* Basic form:

```html
<form>
  <!-- Each child div should contain class="form-group"-->
  <div class="form-group">
    <label for="idOfElement"> </label>
    
    <!-- Each input should contain a class="form-control"-->
    <input type="text" class="form-control" id="" placeholder="some text" />
  </div>

</form>
```

* Add `.inline-form` to your form, to make your form span horizontally across the page
* Always add labels!! To hide the label, add `.sr-only`
* **Inputs** include: `text`, `password`, `datetime`, `date`, `month`, `time`, `week`,
`number`, `email`,` url`, `search`, `tel` and `color`.
* Elements that can have the `.form-control` are: **input**, **textarea**, **select**, ...
* You can change the height of the element by using `.input-lg`, `.input-sm`
* To save code: apply `.form-group-lg` to make label and element scale large, instead of applying
it to the elements individually!


以上是关于markdown BS表格的主要内容,如果未能解决你的问题,请参考以下文章

markdown 以BS为中心

markdown 等BS柱高度

bs4_.table(表格)

如何在MarkDown快速创建表格

Markdown使用-4 表格

用 Excel 生成和管理 Markdown 表格--转载