美文网首页
[Bootstrap]全局样式(四)

[Bootstrap]全局样式(四)

作者: 爱上小媳妇 | 来源:发表于2016-11-27 15:45 被阅读0次

    1、基本类.btn

    {display/padding/margin-bottom/font-size/border-radius/border}

    作用于< a:role:button >  <button>  <input:button>  <input:submit>

    2、预定义样式.btn-default  .btn-primary  .btn-success  .btn-info  .btn-warning  .btn-danger  .btn-link  {color/background-color/border-color}

    3、尺寸  .btn-lg  .btn-md  .btn-sm  .btn-xs  {padding/font-size/line-height/border-radius}  .btn-block  {display/width}

    4、激活状态  .active  {background-color/border-color/box-shadow}

    5、禁用状态  disabled属性/.disabled  {cursor/opcity}

    图片

    1、响应式  .img-responsive  {max-width/height/display}

    2、居中  .center-block  {display/margin-left/margin-right}

    3、形状  .img-rounded  .img-circle  {border-radius}  .img-thumbnail  {display/padding/background/border/border-radius}

    相关文章

      网友评论

          本文标题:[Bootstrap]全局样式(四)

          本文链接:https://www.haomeiwen.com/subject/frlnpttx.html