Installation

Get started with launch.css in your project.

Package Manager

Install launch.css using your preferred package manager:

# npm
npm install launch.css

# pnpm
pnpm add launch.css

# bun
bun add launch.css

# yarn
yarn add launch.css

Then import it in your CSS or JavaScript:

/* In your CSS */
	@import 'launch.css';
// Or in JavaScript/TypeScript
import 'launch.css';

CDN

For quick prototyping or simple projects, use a CDN:

<link rel="stylesheet" href="https://unpkg.com/launch.css">

Or with jsDelivr:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/launch.css">

Download

You can also download the CSS file directly from GitHub releases and include it in your project.

Basic HTML Template

Here's a minimal HTML template to get started:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>My Site</title>
  <link rel="stylesheet" href="https://unpkg.com/launch.css">
</head>
<body>
  <header>
    <nav>
      <a href="/"><strong>My Site</strong></a>
      <ul>
        <li><a href="/about">About</a></li>
        <li><a href="/contact">Contact</a></li>
      </ul>
    </nav>
  </header>
  <main>
    <h1>Welcome</h1>
    <p>Start building with semantic HTML.</p>
  </main>
  <footer>
    <p>&copy; 2024 My Site</p>
  </footer>
</body>
</html>