我正在尝试向Bootstrap 4.0的Navbar菜单添加自定义菜单切换。我使用的代码来自Codeply HERE。我正在尝试将X切换样式应用于网站的引导导航栏。这是我目前所拥有的。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Meta tag for responsive webpages -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> <!-- Stylesheet for Bootstrap Minimized -->
<link rel="stylesheet" href="CSS/main.css"> <!-- Stylesheet for Main CSS -->
<link rel="stylesheet" href="CSS/Bootstrap-Overrides.css"> <!-- Stylesheet for Bootstrap Overrides -->
</head>
<body>
<nav class="navbar navbar-expand-md navbar-custom">
<a href="/" class="navbar-brand"><img src="Blank" alt="blank" height="80" width="185"></a>
<div class="container-fluid">
<div class="row">
<div class="col-sm-4">
<nav class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" …Run Code Online (Sandbox Code Playgroud)