html Bootstrap_button

Posted

tags:

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

<!--Button blocks are as wide as the whole page -->
<link 
      rel='stylesheet' 
      href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css'
      />
<button class='btn btn-block'>Like</button>
<!--The btn-primary class is the main color you'll use in your app.--> 
<!--It is useful for highlighting actions you want your user to take.-->
<link 
      rel='stylesheet' 
      href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css'
      />
<button class='btn btn-block btn-primary'>Like</button>

<!-- Standard button -->
<button type="button" class="btn btn-default">Default</button>

<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
<button type="button" class="btn btn-primary">Primary</button>

<!-- Indicates a successful or positive action -->
<button type="button" class="btn btn-success">Success</button>

<!-- Contextual button for informational alert messages -->
<button type="button" class="btn btn-info">Info</button>

<!-- Indicates caution should be taken with this action -->
<button type="button" class="btn btn-warning">Warning</button>

<!-- Indicates a dangerous or potentially negative action -->
<button type="button" class="btn btn-danger">Danger</button>

<!-- Deemphasize a button by making it look like a link while maintaining button behavior -->
<button type="button" class="btn btn-link">Link</button>
<!--Bootstrap comes with several pre-defined colors for buttons.-->
<!--The btn-info class is used to call attention to optional actions that the user can take.-->

 
<link 
      rel='stylesheet' 
      href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css'
      />
<button class='btn btn-block btn-info'>Info</button>
<link 
      rel='stylesheet' 
      href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css'
      />
<button class="btn">Like this photo</button>

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

一天学会HTML 基础

Html.Partial 与 Html.RenderPartial 和 Html.Action 与 Html.RenderAction

html Html模板/ Html Boilerplate |标签HTML

html里怎么引用一个html的头部

html5与传统html区别

html4和html5的区别