Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.2 KB

bootstrap-nightfall.md

File metadata and controls

34 lines (27 loc) · 1.2 KB

Bootstrap-Nightfall Quick Start

A basic HTML file should look like this:

<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- The page supports both light and dark color schemes, with light being default -->
    <meta name="color-scheme" content="light dark">

    <!-- Bootstrap CSS (as per normal) -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Add the Bootstrap-Dark Variant CSS (the media attribute is for dark auto-switching) -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-dark-5@1.0.1/dist/css/bootstrap.min.css" rel="stylesheet" media="(prefers-color-scheme: dark)">

    <title>Hello, world!</title>
  </head>
  <body>
    <!-- ////////////// -->
    <!-- Your HTML here -->
    <!-- \\\\\\\\\\\\\\ -->

    <!-- Optional Bootstrap JavaScript -->
    <script src="location/of/the/bootstrap.js/here"></script>
  </body>
</html>

Refer to the Bootstrap 5 Docs for more help.