double

A CSS framework with dark mode

MIT License

Stars
6

Double

Double is a CSS framework with dark mode. https://emanuelescarabattoli.github.io/double

Installation

To use double in your project use the following template

<!doctype html>

<html>

<head>

  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />

  <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/emanuelescarabattoli/[email protected]/dist/double.min.css" />

</head>

<body>

  <!--Your HTML code here-->

</body>

</html>

Dark mode

To use the dark mode just wrap your HTML around a div with the CSS class dark-mode as in the following example

<!doctype html>

<html>

<head>

  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />

  <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/emanuelescarabattoli/[email protected]/dist/double.min.css" />

</head>

<body>

  <div class="dark-mode">
    <!--Your HTML code here-->
  </div>

</body>

</html>