Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

Tailwin navbar structure

<h1 class="my-10 px-7 text-5xl">Large screen</h1> <nav class="flex justify-between bg-slate-400 items-center">     <div class="">     <h1 class="bg-amber-400 h-12 text-2xl font-bold px-7 flex items-center">MIHP</h1>   </div>   <div>     <ul class="flex">       <li><a href="home" class="p-2 hover:bg-gray-100 mx-1 rounded">Home</a></li>       <li><a href="about" class="p-2 hover:bg-gray-100 mx-1 rounded">About</a></li>       <li><a href="projects" class="p-2 hover:bg-gray-100 mx-1 rounded">Projects</a></li>       <li><a href="courses" class="p-2 hover:bg-gray-100 mx-1 rounded">Courses</a></li>       <li><a href="contact" class="p-2 hover:bg-gray-100 mx-1 rounded">Contact Us</a></li>     </ul>   </div> </nav> <h1 class="my-10 px-7 text-5xl">Collapsed on small screen</h1> <nav class="bg-slate-400 flex flex-col justify-between items-center">   <div class="flex justify-between w-full">     <h1 class="bg-amber-400 h-12 text-2xl font-bold px-7 flex items-center">MIHP</h1>     <button class="px-2 bg-yellow-200 hover:bg-lime-300">Menu Toggle  <i class="icon-burger">fs</i></button>   </div>   <div class="bg-yellow-50 w-full">     <ul class="flex flex-col">       <li><a href="home" class="block p-2 hover:bg-gray-100">Home</a></li>       <li><a href="about" class="block p-2 hover:bg-gray-100">About</a></li>       <li><a href="projects" class="block p-2 hover:bg-gray-100">Projects</a></li>       <li><a href="courses" class="block p-2 hover:bg-gray-100">Courses</a></li>       <li><a href="contact" class="block p-2 hover:bg-gray-100">Contact Us</a></li>     </ul>   </div> </nav>
Comment

PREVIOUS NEXT
Code Example
Typescript :: elements of programming interviews in python 
Typescript :: Jane and the Frost Giants "c++" 
Typescript :: ht office 
Typescript :: count number of elements in multi-dimensional array python 
Typescript :: lofi hip hop beats cool 
Typescript :: Where is the requirement engineering heading? 
Typescript :: les différents types de cours 
Typescript :: how to keep the state of my widgets after scrolling? flutter 
Typescript :: add custom text after title of products on achive page 
Typescript :: objects all django what is returned 
Typescript :: ngsw pwa how to check version update 
Typescript :: nativescript alert 
Typescript :: get Nested Iteration index Count in Angular 13 
Typescript :: react-i18next bold text 
Typescript :: Python program to extract characters from various text files and puts them into a list 
Typescript :: MAYA Simulation of how light propagates in an environment known as: 
Typescript :: get_refreshed_fragments too long to load 
Typescript :: nextjs and nodemailer problem after deploy 
Typescript :: number validation in typescript 
Typescript :: 3 dots for edit bootstrap 
Typescript :: Sr.No. 18, Plot No. 5/3, CTS No.205,Behind Vandevi Temple, Karvenagar, Pune, Maharashtra 
Typescript :: typescript parse to string 
Typescript :: t sql if exists multiple conditions 
Typescript :: how to make auto conversion of blogger texts with fonts installed in blog theme 
Cpp :: c++ show time elapsed 
Cpp :: suppress individual warnings in visual c++ 
Cpp :: how to sort a vector in reverse c++ 
Cpp :: c++ example 
Cpp :: cpp read csv 
Cpp :: rotation to vector2 godot 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =