구성 요소 고정 탐색 그레이스케일 스큐어모픽 스티키 내비게이션

그레이스케일 스큐어모픽 스티키 내비게이션

블로그를 위한 반응형 끈적끈적한 탐색 모음으로, 회색조 팔레트를 사용하여 스큐어모피즘으로 스타일링되었습니다. 다크 모드 지원 및 간단한 레이아웃이 특징입니다. Tailwind CSS(HTML만 해당)로 빌드되었으며 JavaScript는 없습니다. 스큐어모픽 디자인은 내비게이션 바가 약간 융기된 물리적인 요소처럼 보이도록 하는 것을 목표로 합니다.

미리 보기

HTML 코드

<nav class="sticky top-0 z-50 bg-gray-200 dark:bg-gray-800 border-b border-gray-300 dark:border-gray-700 shadow-[0_1px_0px_rgba(255,255,255,0.3)_inset,_0_1px_2px_rgba(0,0,0,0.2)] dark:shadow-[0_1px_0px_rgba(255,255,255,0.04)_inset,_0_1px_2px_rgba(0,0,0,0.5)]">
  <div class="max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8">
    <div class="flex items-center justify-between h-16">
      <!-- Logo -->
      <div class="flex-shrink-0">
        <a href="#" class="text-xl font-semibold text-gray-800 dark:text-gray-100 hover:text-black dark:hover:text-white transition-colors duration-150">
          MySkeuoBlog
        </a>
      </div>

      <!-- Desktop Navigation Links -->
      <div class="hidden sm:flex sm:items-center sm:space-x-3 md:space-x-5">
        <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-gray-700 dark:text-gray-200 hover:bg-gray-300 hover:bg-opacity-70 dark:hover:bg-gray-700 dark:hover:bg-opacity-70 hover:text-gray-900 dark:hover:text-white transition-all duration-150 ease-in-out">
          Home
        </a>
        <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-gray-700 dark:text-gray-200 hover:bg-gray-300 hover:bg-opacity-70 dark:hover:bg-gray-700 dark:hover:bg-opacity-70 hover:text-gray-900 dark:hover:text-white transition-all duration-150 ease-in-out">
          Articles
        </a>
        <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-gray-700 dark:text-gray-200 hover:bg-gray-300 hover:bg-opacity-70 dark:hover:bg-gray-700 dark:hover:bg-opacity-70 hover:text-gray-900 dark:hover:text-white transition-all duration-150 ease-in-out">
          Categories
        </a>
        <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-gray-700 dark:text-gray-200 hover:bg-gray-300 hover:bg-opacity-70 dark:hover:bg-gray-700 dark:hover:bg-opacity-70 hover:text-gray-900 dark:hover:text-white transition-all duration-150 ease-in-out">
          About
        </a>
      </div>

      <!-- Mobile menu button (decorative as no JS for toggle) -->
      <div class="sm:hidden flex items-center">
        <button type="button" class="p-2 rounded-md text-gray-600 dark:text-gray-400 hover:bg-gray-300 dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gray-500 dark:focus:ring-gray-600" aria-label="Main menu" aria-expanded="false">
          <svg class="h-6 w-6" stroke="currentColor" fill="none" viewBox="0 0 24 24">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
          </svg>
        </button>
      </div>
    </div>
  </div>
</nav>

관련 구성 요소

Sticky Navigation 구성 요소

스큐어모픽 스타일로 디자인된 끈적한 탐색 구성 요소로, 보색을 보여주며, 풍부한 인터페이스를 갖춘 포트폴리오에 적합합니다.

열다

Sticky Navigation 구성 요소

깨끗하고 신뢰할 수 있으며 반응이 빠른 끈적한 탐색 모음은 기업/전문가용으로 파스텔 색상으로 설계되었으며 날씨/기후 응용 분야에 적합합니다. 다크 모드 지원이 포함됩니다.

열다

Sticky Navigation 구성 요소

네온/글로우 효과가 있는 반응형의 끈적한 탐색 모음으로 교육 또는 학습 플랫폼에 적합합니다. 보라색/보라색 색 구성표, 다크 모드 지원, 대화형 메뉴 항목을 제공합니다.

열다