Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.43 KB | None | 0 0
  1.     <div className="antialiased bg-gray-200 h-screen">
  2.       <header className="lg:px-16 px-6 bg-white flex flex-wrap items-center lg:py-0 py-2 shadow-md">
  3.         <div className="flex-1 flex justify-between items-center">
  4.           <img
  5.            src="https://bulma.io/images/bulma-logo.png"
  6.            style={{ height: '3rem' }}
  7.            alt="Logo"
  8.          />
  9.         </div>
  10.  
  11.         <label htmlFor="menu-toggle" className="pointer-cursor lg:hidden block">
  12.           <img src={burger} alt="Burger" />
  13.           <input type="checkbox" className="hidden" id="menu-toggle" />
  14.         </label>
  15.  
  16.         <div
  17.          className="hidden lg:flex lg:items-center lg:auto-w-full"
  18.          id="menu"
  19.        >
  20.           <nav>
  21.             <ul className="lg:flex items-center justify-between text-base text-gray-900 lg:pt-0">
  22.               <li>
  23.                 <a
  24.                  href="google.com"
  25.                  className="lg:p-4 py-3 px-0 block border-b-2 border-transparent hover:border-indigo-400"
  26.                >
  27.                   Some Link
  28.                 </a>
  29.               </li>
  30.               <li>
  31.                 <a
  32.                  href="google.com"
  33.                  className="lg:p-4 py-3 px-0 block border-b-2 border-transparent hover:border-indigo-400"
  34.                >
  35.                   Another Link
  36.                 </a>
  37.               </li>
  38.             </ul>
  39.           </nav>
  40.           <a
  41.            href="/profile"
  42.            className="lg:ml-4 flex items-center justify-start lg:mb-0 mb-4 pointer-cursor"
  43.          >
  44.             <img
  45.              className="rounded-full w-10 h-10 border-2 border-transparent hover:border-indigo-400"
  46.              src="https://lorempixel.com/64/64/people/"
  47.              alt="Profile"
  48.            />
  49.           </a>
  50.         </div>
  51.       </header>
  52.       <div className="px-4">
  53.         <div className="max-w-3xl bg-white rounded-lg mx-auto my-16 p-16">
  54.           <h1 className="text-2xl font-medium mb-2">Some Content</h1>
  55.           <h2 className="font-medium text-sm text-indigo-400 mb-4 uppercase tracking-wide">
  56.             Responsive Navbar
  57.           </h2>
  58.           Lorem ipsum dolor sit, amet consectetur adipisicing elit. Illum illo
  59.           cupiditate molestias atque consequuntur ea quo cumque, odit velit sint
  60.           similique? Asperiores ratione aperiam tempora, alias corrupti deleniti
  61.           quaerat molestiae.
  62.         </div>
  63.       </div>
  64.     </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement