Skip to content

Instantly share code, notes, and snippets.

@ogawatti
Created August 23, 2022 06:18
Show Gist options
  • Save ogawatti/833c0c70926608e13efc4c081b631746 to your computer and use it in GitHub Desktop.
Save ogawatti/833c0c70926608e13efc4c081b631746 to your computer and use it in GitHub Desktop.
Simple CSS example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
<title>My New Website</title>
</head>
<body>
<header>
<h1>Hello, world</h1>
<p>Welcome to my website!</p>
</header>
<main>
<p>This is my new website and it's using Simple.css. It's really cool. If you want to use it too, you can <a href="https://simplecss.org">visit their site</a>.</p>
<blockquote>
<p>Friends don’t spy; true friendship is about privacy, too.</p>
<p><cite>– Stephen King</cite></p>
</blockquote>
<pre><code>puts "Hello, world!"</code></pre>
</main>
<footer>
<p>Jane Smith's website.</p>
</footer>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment