gpt4 book ai didi

html - Bootstrap 列

转载 作者:行者123 更新时间:2023-11-28 05:24:12 24 4
gpt4 key购买 nike

出于某种原因,我的 BS 列似乎没有在我的 fiddle 中水平堆叠, 仅在彼此之上 :-

<!DOCTYPE html>
<html>

<head>
<title>Sue Let The Dogs Out</title>
<script type="text/css" src=""></script>
</head>

<body>
<div class="header">
<div class="row">
<div class="container">
<h1>
Sue Let The Dogs Out!
</h1>
<ul class="nav">
<li>About</li>
<li>Services</li>
<li>Testimonials</li>
<li>Contact Us</li>
</ul>
</div>
</div>
</div>

<div class="jumbotron">
<div class="container">
<div class="row">
<h2> Bespoke Pet Services</h2>
</div>
<div class="row">
<h4>Around the Bristol Area</h4>
</div>
</div>
</div>

<div class="supporter">
<div class="container">
<div class="row">
<div class="col-md-4">
<h3>Dog Walking</h3>
<p>We offer one hour dog walks individually or in a group at extremely competitive rates. The walks take place in safe, traffic free, varied environments such as riverside walks, woodlands and parks. We are happy to deal with all dogs, from the
smallest through to giant breeds.</p>
</div>
<div class="col-md-4">
<h3>House Sitting</h3>

<p>We offer overnight pet sitting in the client's home. This unique service is ideal for pet owners who, for example, want a few days or weeks' holiday but are reluctant to kennel board. The majority of cats and dogs, particularly dogs, suffer
anxiety, stress and depression due to unfamilar surroundings, lack of exercise, stimulation and human companionship.</p>
</div>
<div class="col-md-4">
<h3>Pet Sitting</h3>
<p>We are able to arrange to visit your pet during the day to feed and water them - this can be ideal if you are a cat owner needing to be away for a few days but wishing to avoid the disruption of putting your cat in a cattery, for example.</p>
</div>
</div>
</div>
</div>

<div class="footer">
<div class="container">
<div class="row">
<div class="col-md-8">
<h4>© Rebecca Townsend Design</h4>
</div>
<div class="col-md-4">
<h4>Contact Us</h4>
</div>
</div>
</div>
</div>
</body>
</html>

你能建议我如何解决这个问题吗?我对编码很陌生,所以我的代码中会有很多错误。请随时给我一些指示!

最佳答案

您实际上需要以某种方式在您的 HTML 中包含 Bootstrap 文件。您可以使用此链接或下载它们并将它们插入本地元素。

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"

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

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