Skip to content

Instantly share code, notes, and snippets.

@BjoernSchilberg
Last active October 17, 2022 18:51
Show Gist options
  • Save BjoernSchilberg/43b2ac9cbc79cebf368aced19e989b2f to your computer and use it in GitHub Desktop.
Save BjoernSchilberg/43b2ac9cbc79cebf368aced19e989b2f to your computer and use it in GitHub Desktop.
Little tailwindcss example with Randoma11y colors
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<style>
/*
* Colors from: https://randoma11y.com/
* Some introduction: https://www.freecodecamp.org/news/what-is-tailwind-css-a-beginners-guide/
*/
body {
color: #250f37;
background-color: #0491a5;
}
</style>
</head>
<body>
<h1 class="text-3xl font-bold underline">
Hello world!
</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment