<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 上述3個meta標簽*必須*放在最前面,任何其他內容都*必須*跟隨其后! --> <title>表格</title>
這3個meta標簽 是什么意思?
全文:http://blog.csdn.net/shangmingchao/article/details/49763351
附:
Bootstrap學習——折疊效果
其中learn more按鈕的代碼:
<p>
<a href="#learn-more-content" class="btn btn-primary btn-large" data-toggle="collapse">Learn more ?</a>
</p>
<div id="learn-more-content" class="collapse" style="height:0px;">
<p>this is a template for a simple marketing or informational website.It includes a large callout called the hero unit and three supporting pieces of content.Use it as a starting point to create something more unique.</p>
</div>
如果想折疊元素默認是打開的,則可以設置被折疊元素(這里就是id="learn-more-content"的div元素啦)的class="in"或者class="collapse" style="height:auto;"就好了。
出自:http://blog.163.com/zhi_qingfang@126/blog/static/11747756320135613715378/
