gpt4 book ai didi

html - Twitter Bootstrap css topbar html/css

转载 作者:行者123 更新时间:2023-11-28 18:54:33 25 4
gpt4 key购买 nike

我有这个(使用 Twitter Bootstrap css 表):

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="author" content="">
<link href="bootstrap.min.css" rel="stylesheet">
</head>
<body style='padding-top:40px;'>

<div class='topbar'>
<div class='fill'>
<a class='brand' href='index.php'>BrandTest</a>
</div>
</div>

</body>
</html>

它没有在顶部显示黑色条。

有什么想法吗?

最佳答案

缺少 HTML 的某些部分,它应该如下所示:http://jsfiddle.net/KajxK/

<div class="topbar">
<div class="topbar-inner">
<div class="container">
<a class="brand" href="index.php">BrandTest</a>
</div>
</div>
</div>

关于html - Twitter Bootstrap css topbar html/css,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8346290/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com