Skip to content

Instantly share code, notes, and snippets.

@davidpiesse
Created November 7, 2017 20:34
Show Gist options
  • Save davidpiesse/8e7a33b7eaeb2b28887aba55a4d901d8 to your computer and use it in GitHub Desktop.
Save davidpiesse/8e7a33b7eaeb2b28887aba55a4d901d8 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Starter Template for Tailwind CSS</title>
<!-- Tailwind CSS Preflight CSS-->
<link href="https://cdn.jsdelivr.net/npm/tailwindcss/dist/preflight.min.css" rel="stylesheet">
<!-- Any of your own CSS would go here -->
<style>
</style>
<!-- Tailwind CSS Utilities CSS-->
<link href="https://cdn.jsdelivr.net/npm/tailwindcss/dist/utilities.min.css" rel="stylesheet">
</head>
<body>
<nav class="flex items-center justify-between flex-wrap bg-grey-darkest p-2">
<div class="flex items-center flex-no-shrink text-white mr-6">
<svg class="h-8 w-8 mr-2" width="54" height="54" viewBox="0 0 54 54" xmlns="http://www.w3.org/2000/svg"><path d="M13.5 22.1c1.8-7.2 6.3-10.8 13.5-10.8 10.8 0 12.15 8.1 17.55 9.45 3.6.9 6.75-.45 9.45-4.05-1.8 7.2-6.3 10.8-13.5 10.8-10.8 0-12.15-8.1-17.55-9.45-3.6-.9-6.75.45-9.45 4.05zM0 38.3c1.8-7.2 6.3-10.8 13.5-10.8 10.8 0 12.15 8.1 17.55 9.45 3.6.9 6.75-.45 9.45-4.05-1.8 7.2-6.3 10.8-13.5 10.8-10.8 0-12.15-8.1-17.55-9.45-3.6-.9-6.75.45-9.45 4.05z"/></svg>
<span class="font-semibold text-xl tracking-tight">Tailwind CSS</span>
</div>
<div class="block lg:hidden">
<button class="flex items-center px-3 py-2 border rounded text-teal-lighter border-teal-light hover:text-white hover:border-white">
<svg class="h-3 w-3" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><title>Menu</title><path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"/></svg>
</button>
</div>
<div class="w-full block flex-grow lg:flex lg:items-center lg:w-auto">
<div class="text-sm lg:flex-grow">
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 text-grey-lightest hover:text-white mr-4 no-underline">
Home
</a>
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 text-grey-light hover:text-white mr-4 no-underline">
Link
</a>
<a href="#" disabled class="block mt-4 lg:inline-block lg:mt-0 text-grey mr-4 no-underline cursor-not-allowed">
Disabled
</a>
</div>
<div>
<div class="flex items-center justify-between">
<input class="inline-block shadow appearance-none border rounded w-full py-3 px-3 text-grey-darker mr-2" id="search" type="text" placeholder="Search">
<a href="#" class="inline-block text-sm px-4 py-3 leading-none border rounded text-green border-green hover:border-transparent hover:text-white hover:bg-green no-underline">Search</a>
</div>
</div>
</div>
</nav>
<div class="container mx-auto">
<div class="text-center mt-6 p-8">
<h1 class="text-4xl leading-tight font-medium mb-2">Tailwind CSS starter template</h1>
<p class="text-xl font-light mb-4">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>
</div>
</div>
<!-- JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script>
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment