首页  >  文章  >  web前端  >  c#如何使用bootstrap模板

c#如何使用bootstrap模板

angryTom
angryTom原创
2019-07-29 16:20:463560浏览

c#如何使用bootstrap模板

如果你想了解更多关于bootstrap的知识,可以点击:bootstrap教程

c#如何套用BootStrap 让页面美丽点?

现在有很多的第三方的UI扩充,像是jQueryEasyUI 或是常见的BootStrap

若是使用asp.net可以先download Bootstrap 并且将档按新增进专案的css里面并且引用,或者可以直接在html 9c3bca370b5104690d9ef395f2c5f8d1下面直接添加网址

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"/>

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous"/>

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>

加载后,要怎么使用呢? 来看个最简单的button。

此为bootstrap 的官方网站,可以在button 加上class=”btn btn-default ” 便会是下面范例的样式 

boot65.png

那么如何获取bootstrap模板?下载免费bootstrap模板,可访问 bootstrap模板 栏目!!

以上是c#如何使用bootstrap模板的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn