Bootstrap 4 下拉按钮不是';t使用引导程序4 ' `圣诞节活动` 下拉按钮 12月15日到奥古斯丁之家来!我们的圣诞活动将 包括: 拉普兰带着我们自己的驯鹿来到坎特伯雷 冰宝贝!用美味的糖衣和巧克力装饰姜饼 对待 与福音唱诗班和他们的节日颂歌一起歌唱 `
我的问题是,无论我尝试创建什么代码的下拉选项(最好是当屏幕缩小时弹出),按钮都不会打开选项。有什么我遗漏的吗?我已经尝试了各种可能的组合,包括使用font Awome中的图标。。确实需要帮助。Bootstrap 4 beta 3中的下拉列表(和下拉列表等)需要包含popper.js 此外,使用过时的jQuery和过时的引导css也是一个坏主意 请尝试在Bootstrap 4 下拉按钮不是';t使用引导程序4 ' `圣诞节活动` 下拉按钮 12月15日到奥古斯丁之家来!我们的圣诞活动将 包括: 拉普兰带着我们自己的驯鹿来到坎特伯雷 冰宝贝!用美味的糖衣和巧克力装饰姜饼 对待 与福音唱诗班和他们的节日颂歌一起歌唱 `,bootstrap-4,Bootstrap 4,我的问题是,无论我尝试创建什么代码的下拉选项(最好是当屏幕缩小时弹出),按钮都不会打开选项。有什么我遗漏的吗?我已经尝试了各种可能的组合,包括使用font Awome中的图标。。确实需要帮助。Bootstrap 4 beta 3中的下拉列表(和下拉列表等)需要包含popper.js 此外,使用过时的jQuery和过时的引导css也是一个坏主意 请尝试在之前包含以下内容: Bootstrap4现在已进入Beta3测试版。你那里有一个过时的css文件。我刚刚更新了它。。这是正确的代码吗?-->它
之前包含以下内容:
Bootstrap4现在已进入Beta3测试版。你那里有一个过时的css文件。我刚刚更新了它。。这是正确的代码吗?-->它仍然不起作用我不知道,非常感谢!现在一切都好了
'<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head
content must come *after* these tags -->
`<title>Christmas Event</title>`
<!-- Bootstrap -->
<link href="bootstrap-4.0.0-beta.2-dist/css/bootstrap.min.css"
rel="stylesheet">
<link rel="stylesheet" type="text/css" href="christmas.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media
queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js">
</script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js">
</script>
<![endif]-->
</head>
<body>
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button"
id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-
expanded="false">
Dropdown button
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</div>
<div class="section1">
<div class="container">
<div class="row">
<div class="col-sm-7 offset-6">
<h1>Come down to Augustine House on 15th December! Our Christmas event will
include:</h1>
<h2>Lapland is coming to Canterbury with our very own reindeer
</h2>
<h2>Ice ice baby! Decorate gingerbread with delicious icing and
treats</h2>
<h2>Sing along with the Gospel Choir and their festive carols</h2>
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js">
</script>
<!-- Include all compiled plugins (below), or include individual files as
needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html> `