Created
May 9, 2020 04:06
-
-
Save dikiwidia/650ca0270437a871bdcadfb046ab26e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Tailwind CSS</title> | |
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div class="flex px-3 py-3"> | |
<div class="max-w-sm rounded overflow-hidden shadow-lg"> | |
<img class="w-full" src="https://tailwindcss.com/img/card-top.jpg" alt="Sunset in the mountains"> | |
<div class="px-6 py-4"> | |
<div class="font-bold text-xl mb-2">The Coldest Sunset</div> | |
<p class="text-gray-700 text-base"> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil. | |
</p> | |
</div> | |
<div class="px-6 py-4"> | |
<span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2">#photography</span> | |
<span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2">#travel</span> | |
<span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700">#winter</span> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment