bootsharp尝试

   [size=medium]感觉bootsharp没我想象的复杂,就是一个js 一个css ,两个图片.
  但是上手的时候确实有点恶心,文档说了很多,却没有给出实际的例子.
   然后发现要使用模板,模板很多要收费先不说,模板肯定不会完全满足需求.那就得改呗.那首先得要懂html,我html还是懂一些的.
   但是css呢.自己按照官方的来搞不见的漂亮.结局很可能是东copy一些 西copy一下.
   我刚入门,呵呵,上面说的可能有很多不对.[/size]


效果图
[img]http://dl2.iteye.com/upload/attachment/0087/6559/092e3587-68f3-3052-b34c-33c5610d57c9.png[/img]

html代码:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/bootstrap.css" type="text/css" />
<title>Hello BootStrap</title>
</head>
<body>
<h1>Hello BootStrap</h1>
<ul class="nav nav-pills">
<li class="active">[url=#]Regular link[/url]</li>
<li class="dropdown" id="menu1">
<a class="dropdown-toggle" data-toggle="dropdown" href="#menu1">Dropdown<b class="caret"></b></a>
<ul class="dropdown-menu">
[*][url=#]Action[/url]

[*][url=#]Another Action[/url]

[*][url=#]Something else here[/url]

<li class="divider"></li>
[*][url=#]Separated link[/url]

</ul>
</li>
</ul>

<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="js/bootstrap.js"></script>
<script>
$(".dropdown-toggle").dropdown()
</script>
</body>
</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值