HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<html>
<head>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<style>
body {
font-family: 'Inter', sans-serif;
}
</style>
<!-- alpine.js is used for handling toggle of navbar on mobile screens, switch it with your own front end framework
if needed -->
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.js" defer></script>
</head>
<body>
<div class="py-2 bg-gray-100 text-gray-900 min-h-screen">
<header class="px-5 sm:px-10 md:px-10 md:py-5 lg:px-20 flex items-center justify-between">
<div>
<img src="https://storage.googleapis.com/devitary-image-host.appspot.com/15846435184459982716-LogoMakr_7POjrN.png" class="w-48">
</div>
<div x-data="{ navOpen: false }">
<button @click="navOpen = true">
<svg class="cursor-pointer text-gray-700 hover:text-gray-900 w-6 md:hidden" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<line x1="3" y1="12" x2="21" y2="12"/>
<line x1="3" y1="6" x2="21" y2="6"/>
<line x1="3" y1="18" x2="21" y2="18"/>
</svg>
</button>
<div :class="{'hidden': !navOpen}" class="md:block fixed top-0 inset-x-0 bg-white p-8 m-4 z-30 rounded-lg shadow md:rounded-none md:shadow-none md:p-0 md:m-0 md:relative md:bg-transparent">
<button @click="navOpen = false" class="absolute top-0 right-0 mr-5 mt-5 md:hidden">
<svg class="w-6 h-6" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x">
<path d="M18 6L6 18M6 6l12 12"/>
</svg>
</button>
<div class="flex flex-col items-center justify-center md:block">
<a href="#" class="transition-all duration-100 ease-in-out pb-1 border-b-2 text-indigo-500 border-transparent hover:border-indigo-300
hover:text-gray-600 md:mr-8 text-lg md:text-sm font-bold tracking-wide my-4 md:my-0">
Blog
</a>
<a href="#" class="transition-all duration-100 ease-in-out pb-1 border-b-2 text-indigo-500 border-transparent hover:border-indigo-300
hover:text-indigo-600 md:mr-8 text-lg md:text-sm font-bold tracking-wide my-4 md:my-0">
Login
</a>
<button class="border border-transparent rounded font-semibold tracking-wide text-lg md:text-sm px-5 py-3 md:py-2
focus:outline-none focus:shadow-outline bg-indigo-600 text-gray-100 hover:bg-indigo-800
hover:text-gray-200 transition-all duration-300 ease-in-out my-4 md:my-0 w-full md:w-auto">
Sign Up
</button>
</div>
</div>
</div>
</header>
<main>
<div id="hero" class="pt-5 lg:flex items-center">
<div class="px-5 sm:px-10 md:px-10 md:flex lg:block lg:w-1/2 lg:max-w-3xl lg:mr-8 lg:px-20">
<div class="md:w-1/2 md:mr-10 lg:w-full lg:mr-0">
<h1 class="text-3xl xl:text-4xl font-black md:leading-none xl:leading-tight">
Hire a Designer Near You
</h1>
<p class="mt-4 xl:mt-2">
World Class Designers, just for you on contract, full-time or part-time, whatever you need.
</p>
</div>
<div class="flex-1">
<div class="relative mt-4 md:mt-0 lg:mt-4">
<div class="pl-4 pr-4 h-full absolute bottom-0 left-0 flex items-center">
<svg class="text-gray-700 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="11" cy="11" r="8"></circle>
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
</svg>
</div>
<input type="text" class="w-full border bg-gray-100 px-4 py-4 text-sm tracking-wide focus:outline-none focus:shadow-outline rounded pl-12" placeholder="Type (e.g junior, senior)">
</div>
<div class="relative mt-4">
<div class="pl-4 pr-4 h-full absolute bottom-0 left-0 flex items-center">
<svg class="text-gray-700 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z" />
<circle cx="12" cy="10" r="3" /></svg>
</div>
<input type="text" class="w-full border bg-gray-100 px-4 py-4 text-sm tracking-wide focus:outline-none focus:shadow-outline rounded pl-12" placeholder="Mountain View, California">
</div>
<div>
<button class="transition-all duration-300 mt-5 w-full border border-transparent rounded font-semibold tracking-wide text-sm px-5 py-4 focus:outline-none focus:shadow-outline bg-indigo-500 text-gray-100 hover:bg-indigo-600 hover:text-gray-200">Find Designers</button>
</div>
</div>
</div>
<div class="mt-6 w-full flex-1 lg:mt-0">
<div></div>
<img class="" src="https://images.unsplash.com/photo-1524749292158-7540c2494485?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=85" />
</div>
</div>
<div class="p-5 sm:px-10 md:px-20" id="companies">
<div class="max-w-screen-xl mx-auto">
<img class="mx-auto" src="https://storage.googleapis.com/devitary-image-host.appspot.com/15846471026680582071-Strip-Payment-Logos.png">
</div>
</div>
<div class="px-5 sm:px-10 md:px-20 lg:px-10 xl:px-20 py-8 bg-indigo-100" id="features">
<div class="max-w-screen-xl mx-auto">
<h3 class="leading-none font-black text-3xl">
Features
</h3>
<div class="flex flex-col items-center flex-wrap lg:flex-row lg:items-stretch lg:flex-no-wrap lg:justify-between">
<div class="w-full max-w-sm mt-6 lg:mt-8 bg-gray-100 rounded shadow-lg p-12 lg:p-8 lg:mx-4 xl:p-12">
<div class="p-4 inline-block bg-indigo-200 rounded-lg">
<svg class="text-indigo-500 w-8" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10"/>
<path d="M8 14s1.5 2 4 2 4-2 4-2"/>
<line x1="9" y1="9" x2="9.01" y2="9"/>
<line x1="15" y1="9" x2="15.01" y2="9"/>
</svg>
</div>
<div class="mt-4 font-extrabold text-2xl tracking-wide">
Amazing People
</div>
<div class="text-sm">
We guarantee that every designer you ever work with will be an awesome member for your team. We
conduct personal interview with every designer to ensure that we only get the best.
</div>
</div>
<div class="w-full max-w-sm mt-8 bg-gray-100 rounded shadow-lg p-12 lg:p-8 lg:mx-4 xl:p-12">
<div class="p-4 inline-block bg-green-200 rounded-lg">
<svg class="text-green-500 w-8" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<line x1="12" y1="1" x2="12" y2="23"/>
<path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/>
</svg>
</div>
<div class="mt-4 font-extrabold text-2xl tracking-wide">
Best Rates
</div>
<div class="text-sm">
Be assured that you will always get the best rates. We continously monitor global freelance wage trends to ensure
that no one is under or overpaid.
</div>
</div>
<div class="w-full max-w-sm mt-8 bg-gray-100 rounded shadow-lg p-12 lg:p-8 lg:mx-4 xl:p-12">
<div class="p-4 inline-block bg-red-200 rounded-lg">
<svg class="text-red-500 w-8" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path xmlns="http://www.w3.org/2000/svg" d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/>
<line xmlns="http://www.w3.org/2000/svg" x1="12" y1="9" x2="12" y2="13"/>
<line xmlns="http://www.w3.org/2000/svg" x1="12" y1="17" x2="12.01" y2="17"/>
</svg>
</div>
<div class="mt-4 font-extrabold text-2xl tracking-wide">
Abuse Protection
</div>
<div class="text-sm">
Money is held by us in escrow subject to project completion. If there is any dispute, a customer
service representative will manually review the case and take appropriate action.
</div>
</div>
</div>
</div>
</div>
<div class="px-5 sm:px-10 md:px-20 lg:px-10 xl:px-20 py-8 bg-gray-100" id="cards">
<div class="max-w-screen-xl mx-auto">
<h3 class="leading-none font-black text-3xl">Popular Designers</h3>
<div class="lg:flex justify-between lg:mt-8">
<div class="lg:mx-2 flex flex-col items-center">
<div class="flex-1 flex w-full max-w-sm pt-16 lg:pt-0">
<div class="w-full p-8 sm:p-12 lg:px-8 xl:px-12 shadow-lg rounded bg-gray-100 relative">
<div class="text-lg font-bold text-gray-700 leading-tight">Senior Designer - Figma</div>
<div>
<div class="flex justify-between mt-6 text-xs font-bold">
<div class="flex items-start">
<svg class="text-gray-400 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
<span class="ml-1 text-gray-500">New York City</span>
</div>
<div class="flex items-start ml-4">
<svg class="text-gray-400 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect xmlns="http://www.w3.org/2000/svg" x="2" y="7" width="20" height="14" rx="2" ry="2"/>
<path xmlns="http://www.w3.org/2000/svg" d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"/>
</svg>
<span class="ml-1 text-gray-500">Google (3 Years)</span>
</div>
</div>
<div class="text-center flex flex-row justify-between flex-wrap justify-between items-center text-xs font-bold">
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-green-200 text-green-600">Full Time</span>
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-indigo-200 text-indigo-600">Remote</span>
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-blue-200 text-blue-600">4 Years Exp</span>
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-purple-200 text-purple-600">$30/Hr</span>
</div>
<div class="mt-12 flex items-center">
<div class="w-16 h-16 bg-cover rounded-full border-2 border-gray-700" alt="" style='background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&q=80");'></div>
<div class="ml-5">
<div class="font-bold text-gray-800">
Sasha Sloan
</div>
<div class="text-xs text-gray-500">Hired 3 Hours ago</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="lg:mx-2 flex flex-col items-center">
<div class="flex-1 flex w-full max-w-sm pt-16 lg:pt-0">
<div class="w-full p-8 sm:p-12 lg:px-8 xl:px-12 shadow-lg rounded bg-gray-100 relative">
<div class="text-lg font-bold text-gray-700 leading-tight">Design Leader- InVision</div>
<div>
<div class="flex justify-between mt-6 text-xs font-bold">
<div class="flex items-start">
<svg class="text-gray-400 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
<span class="ml-1 text-gray-500">Palo Alto</span>
</div>
<div class="flex items-start ml-4">
<svg class="text-gray-400 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect xmlns="http://www.w3.org/2000/svg" x="2" y="7" width="20" height="14" rx="2" ry="2"/>
<path xmlns="http://www.w3.org/2000/svg" d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"/>
</svg>
<span class="ml-1 text-gray-500">Amazon (8 Years)</span>
</div>
</div>
<div class="text-center flex flex-row justify-between flex-wrap justify-between items-center text-xs font-bold">
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-yellow-200 text-yellow-600">Part Time</span>
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-indigo-200 text-indigo-600">Remote</span>
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-blue-200 text-blue-600">14 Years Exp</span>
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-purple-200 text-purple-600">$45/Hr</span>
</div>
<div class="mt-12 flex items-center">
<div class="w-16 h-16 bg-cover rounded-full border-2 border-gray-700" alt=""
style='background-image: url("https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&q=80");'></div>
<div class="ml-4">
<div class="font-bold text-gray-800">
Nathan Lan
</div>
<div class="text-xs text-gray-500">Hired 9 Hours ago</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="lg:mx-2 flex flex-col items-center">
<div class="flex-1 flex w-full max-w-sm pt-16 lg:pt-0">
<div class="w-full p-8 sm:p-12 lg:px-8 xl:px-12 shadow-lg rounded bg-gray-100 relative">
<div class="text-lg font-bold text-gray-700 leading-tight">Junior Designer - Figma</div>
<div>
<div class="flex justify-between mt-6 text-xs font-bold">
<div class="flex items-start">
<svg class="text-gray-400 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
<span class="ml-1 text-gray-500">San Francisco</span>
</div>
<div class="flex items-start ml-4">
<svg class="text-gray-400 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect xmlns="http://www.w3.org/2000/svg" x="2" y="7" width="20" height="14" rx="2" ry="2"/>
<path xmlns="http://www.w3.org/2000/svg" d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"/>
</svg>
<span class="ml-1 text-gray-500">AirBnB (1 Years)</span>
</div>
</div>
<div class="text-center flex flex-row justify-between flex-wrap justify-between items-center text-xs font-bold">
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-yellow-200 text-yellow-600">Part Time</span>
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-indigo-200 text-indigo-600">Remote</span>
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-blue-200 text-blue-600">2 Years Exp</span>
<span class="w-5/12 mt-6 mx-1 p-1 rounded bg-purple-200 text-purple-600">$20/Hr</span>
</div>
<div class="mt-12 flex items-center">
<div class="w-16 h-16 bg-cover rounded-full border-2 border-gray-700" alt=""
style='background-image:
url("https://images.unsplash.com/photo-1541647376583-8934aaf3448a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&h=256&q=80");'></div>
<div class="ml-4">
<div class="font-bold text-gray-800">
Jeremy Daer
</div>
<div class="text-xs text-gray-500">Hired 2 Days ago</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="px-5 sm:px-10 md:px-20 lg:px-10 xl:px-20 py-8 bg-indigo-100" id="blog-posts">
<div class="max-w-screen-xl mx-auto">
<div class="xl:flex">
<div>
<h3 class="leading-none font-black text-3xl">Popular Posts</h3>
<div class="flex flex-col items-center lg:flex-row lg:items-stretch lg:justify-around">
<a href="https://owaiskhan.me" class="flex w-full max-w-sm mt-6 lg:mt-8 xl:mr-8">
<div class="transition-all duration-300 cursor-pointer w-full shadow-lg hover:shadow-xl rounded-lg bg-gray-100 relative">
<div class="w-full h-48 bg-cover rounded-t-lg" style='background-image:
url("https://images.unsplash.com/3/doctype-hi-res.jpg?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=768&q=80");'></div>
<div class="p-6">
<div class="text-lg font-bold">Tips for creating an amazing design system</div>
<div class="mt-2 text-gray-900 text-sm">
Learn how to create a new design system that is beautiful and efficient for creating your UI
components.
</div>
</div>
</div>
</a>
<a href="https://timerse.com" class="flex w-full max-w-sm mt-6 lg:mt-8 xl:mr-8">
<div class="transition-all duration-300 cursor-pointer w-full shadow-lg hover:shadow-xl rounded-lg bg-gray-100 relative">
<div class="w-full h-48 bg-cover rounded-t-lg" style='background-image:
url("https://images.unsplash.com/photo-1572044162444-ad60f128bdea?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=768&q=80");'></div>
<div class="p-6">
<div class="text-lg font-bold">Using a drawing tablet to create beautiful icons</div>
<div class="mt-2 text-gray-900 text-sm">
Good Icons are hard to come by. This article guides you on how to create beautiful sketched
icons using a drawing pad.
</div>
</div>
</div>
</a>
</div>
</div>
<div class="mt-12 xl:mt-0 xl:ml-8">
<h3 class="leading-none font-black text-3xl">Recent Posts</h3>
<div class="flex flex-col items-center lg:flex-row lg:items-stretch lg:justify-around xl:flex-col">
<a href="https://owaiskhan.me" class="flex w-full max-w-sm mt-6 lg:mt-8">
<div class="transition-all duration-300 cursor-pointer w-full shadow-lg hover:shadow-xl rounded-lg
bg-gray-100 relative xl:flex xl:flex-row-reverse xl:items-center xl:px-6 xl:py-8">
<div class="w-full h-48 bg-cover rounded-t-lg xl:w-32 xl:h-20 xl:rounded-lg xl:ml-2" style='background-image:
url("https://images.unsplash.com/photo-1452830978618-d6feae7d0ffa?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=512&q=80");'></div>
<div class="p-6 xl:p-0">
<div class="text-lg font-bold">How to work effectively with freelancers</div>
<div class="mt-2 text-gray-900 text-sm xl:hidden">
Hiring a freelancer for your new project can be challenging if you've never done before. Learn
some tips that will allow you to have a better experience working with freelancers
</div>
</div>
</div>
</a>
<a href="https://owaiskhan.me" class="flex w-full max-w-sm mt-6 lg:mt-8">
<div class="transition-all duration-300 cursor-pointer w-full shadow-lg hover:shadow-xl rounded-lg
bg-gray-100 relative xl:flex xl:flex-row-reverse xl:items-center xl:px-6 xl:py-8">
<div class="w-full h-48 bg-cover rounded-t-lg xl:w-32 xl:h-20 xl:rounded-lg xl:ml-2" style='background-image:
url("https://images.unsplash.com/photo-1581287053822-fd7bf4f4bfec?ixlib=rb-1.2.1&auto=format&fit=crop&w=512&q=80");'></div>
<div class="p-6 xl:p-0">
<div class="text-lg font-bold">How to create smooth React Native animations</div>
<div class="mt-2 text-gray-900 text-sm xl:hidden">
Animations play a vital role in user experience. This article describes how you can create
butter smooth 60 FPS animations easily.
</div>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="px-5 sm:px-10 md:px-20 py-8">
<div class="flex flex-col items-center lg:flex-row-reverse justify-between">
<div class="">
<a class="mx-4 text-sm font-bold text-indigo-600 hover:text-indigo-800" href="#">Home</a>
<a class="mx-4 text-sm font-bold text-indigo-600 hover:text-indigo-800" href="#">About Us</a>
<a class="mx-4 text-sm font-bold text-indigo-600 hover:text-indigo-800" href="#">Careers</a>
<!-- <a href="#">About Us</a> -->
<!-- <a href="#">Careers</a> -->
</div>
<div class="mt-4">
<img src="https://storage.googleapis.com/devitary-image-host.appspot.com/15846435184459982716-LogoMakr_7POjrN.png" class="w-32">
</div>
<div class="mt-4 text-xs font-bold text-gray-500">
© 2020 TEMPLATANA | MIT License
</div>
</div>
</footer>
</div>
</body>
</html>
Also see: Tab Triggers