Advertisement
Guest User

Untitled

a guest
May 30th, 2021
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.82 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  4. <!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
  5. <!--[if gt IE 8]>      <html class="no-js"> <!--<![endif]-->
  6. <html>
  7.     <head>
  8.         <meta charset="utf-8">
  9.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  10.         <title>Tail wind example</title>
  11.         <meta name="description" content="">
  12.         <meta name="viewport" content="width=device-width, initial-scale=1">
  13.         <link rel="stylesheet" href="build/tailwind.css">
  14.         <script type="module" src="https://cdn.jsdelivr.net/npm/vue@2.6.12/dist/vue.js"></script>
  15.       <header class="flex items-center justify-around bg-black">
  16.        
  17.         <img src=""/ class="h-8">
  18.        
  19.         <button @click="isOpen=!isOpen" type="button" class="text-black bg-blue-900 focus:text-white hover:text-red-900">Dude</button>
  20.  
  21.  
  22.       <div class= " isOpen ? 'block':'hidden'"class="px-2 pb-4">
  23.         <a href="#" class="block px-2 bg-white py-1font-semibold hover:bg-blue-300">Resume1</a>
  24.         <a href="#" class="block px-2 mt-1 py-1font-semibold hover:bg-blue-300">Resume1</a>
  25.         <a href="#" class="block px-2 py-1font-semibold hover:bg-blue-300">Resume1</a>
  26.         <a href="#" class="block px-2 mt-1 py-1font-semibold hover:bg-blue-300">Resume1</a>    <a href="#" class="block px-2 py-1font-semibold hover:bg-blue-300">Resume1</a>
  27.         <a href="#" class="block px-2 mt-1 py-1font-semibold hover:bg-blue-300">Resume1</a>
  28.       </header>
  29.       </div>
  30.  
  31.     </head>
  32.     <body>
  33.  
  34.  
  35.  
  36.        
  37.  
  38.     </body>
  39.     <script>
  40.  
  41.       export default{
  42.  
  43.         data(){
  44.  
  45.           return{
  46.             isOpen:false,
  47.  
  48.           }
  49.  
  50.         }
  51.       }
  52.     </script>
  53.  
  54. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement