Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

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.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

              
                <div class="flex flex-col justify-center items-center w-full py-20">

  <nav class="bg-gray-900 px-4 py-4 rounded mt-2 w-84">
    <div class="relative flex items-center justify-between">
      <div class="flex items-center justify-center">
        <i class="bx bx-menu text-white text-2xl"></i>
      </div>

      <div class="font-bold text-white absolute inset-y-0" style="left:50%; transform: translateX(-50%);">
        Abstract UI
      </div>

      <div class="flex items-center justify-center">
        <i class="bx bxs-envelope text-white text-2xl"></i>
        <i class="bx bx-trending-up text-white text-2xl ml-6"></i>
      </div>
    </div>
  </nav>

  <nav class="bg-gray-900 px-4 py-4 rounded mt-4 w-84">
    <div class="relative flex items-center justify-between">
      <div class="flex items-center justify-center">
        <i class="bx bx-x text-white text-2xl"></i>
      </div>

      <div class="font-bold text-white absolute inset-y-0" style="left:50%; transform: translateX(-50%);">
        Abstract UI
      </div>

      <div class="flex items-center justify-center">
        <i class="bx bxs-envelope text-white text-2xl"></i>
        <i class="bx bx-trending-up text-white text-2xl ml-6"></i>
      </div>
    </div>

    <div class="mt-4">
      <input type="search" id="" name="" placeholder="Search" class="bg-white px-4 py-2 w-full rounded">
    </div>

    <div class="mt-4">
      <ul>
        <li>
          <a href="#" title="" class="block text-white text-lg font-semibold py-2 hover:text-gray-500">
                  Shots
                </a>
        </li>
        <li>
          <a href="#" title="" class="block text-white text-lg font-semibold py-2 hover:text-gray-500">
                  Designers
                </a>
        </li>
        <li>
          <a href="#" title="" class="block text-white text-lg font-semibold py-2 flex items-center justify-between
                  hover:text-gray-500">
                  <span>Community</span>
                  <i class="bx bx-chevron-down text-white"></i>
                </a>

          <ul class="pl-4 border-l border-gray-700 ml-1">
            <li><a href="#" title="" class="block text-white py-2 hover:text-gray-500">Blog: Courtside</a></li>
            <li><a href="#" title="" class="block text-white py-2 hover:text-gray-500">Weekly Warm-Up</a></li>
            <li><a href="#" title="" class="block text-white py-2 hover:text-gray-500">Featured Playoffs</a></li>
            <li><a href="#" title="" class="block text-white py-2 hover:text-gray-500">Meetups</a></li>
          </ul>
        </li>
        <li>
          <a href="#" title="" class="block text-white text-lg font-semibold py-2">
                  Jobs
                </a>
        </li>
      </ul>

      <hr class="mt-4 mb-6 opacity-25">

      <div class="">
        <a href="https://dribbble.com/iamsahilvhora" target="_blank" title="" class="flex items-center">
          <div class="w-10 h-10 rounded-full overflow-hidden">
            <img src="https://randomuser.me/api/portraits/men/43.jpg" alt="" class="object-cover">
          </div>
          <span class="text-white font-semibold ml-4 hover:text-gray-500">Sahil Vhora</span>
        </a>
      </div>

      <div class="flex items-start justify-between mt-4">
        <ul>
          <li>
            <a href="" title="" class="block text-white py-2 hover:text-gray-500">Profile</a>
          </li>
          <li>
            <a href="" title="" class="block text-white py-2 hover:text-gray-500">
                    <span>Invite Designers</span>
                    <span class="ml-2 bg-blue-500 text-white px-2 py-1 rounded text-xs">3</span>
                  </a>
          </li>
          <li>
            <a href="" title="" class="block text-white py-2 hover:text-gray-500">Work Availability</a>
          </li>
          <li>
            <a href="" title="" class="block text-white py-2 hover:text-gray-500">Go Pro</a>
          </li>
        </ul>

        <ul class="pr-10">
          <li>
            <a href="" title="" class="block text-white py-2 hover:text-gray-500">My Likes</a>
          </li>
          <li>
            <a href="" title="" class="block text-white py-2 hover:text-gray-500">My Saves</a>
          </li>
        </ul>
      </div>

      <hr class="mt-4 mb-6 opacity-25">

      <ul>
        <li>
          <a href="" title="" class="block text-white py-2 hover:text-gray-500">Account Settings</a>
        </li>
        <li>
          <a href="" title="" class="block text-white py-2 hover:text-gray-500">Sign Out</a>
        </li>
      </ul>

    </div>
  </nav>

</div>
              
            
!

CSS

              
                .w-84 {
    width: 21rem;
}
              
            
!

JS

              
                
              
            
!
999px

Console