Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Tailwind CSS Tip ✨ You can create a multi-level dropdown menu using Tailwind CSS without javascript. Live demo / copy code ↓ (15/30) follow for 15 more tips 🔔

222,528 görüntüleme • 3 yıl önce •via X (Twitter)

10 Yorum

Surjith S M ✪ profil fotoğrafı
Surjith S M ✪3 yıl önce

Thanks to @shrutibalasa for the idea and @shadcn for the inspiration. 🙏

Surjith S M ✪ profil fotoğrafı
Surjith S M ✪3 yıl önce

Which tip/snippet do you want to see next with tailwindcss? Comment below.

Tan Gravam profil fotoğrafı
Tan Gravam3 yıl önce

@tailwindcss Surjith, the solution is excellent and easy to implement, but I am unsure about using anchor elements for this kind of case in the context of SEO optimization.

Surjith S M ✪ profil fotoğrafı
Surjith S M ✪3 yıl önce

@tailwindcss I just shown example of an app, in real life these would be links to other pages right? In that case <a> is preferred. If the action happens on same page, it should be <button>

nigel pasco profil fotoğrafı
nigel pasco3 yıl önce

@tailwindcss How did I not know about Tailwind Play?

Surjith S M ✪ profil fotoğrafı
Surjith S M ✪3 yıl önce

@tailwindcss you are late to the party. its been there for years.

Josh 💻 profil fotoğrafı
Josh 💻3 yıl önce

@tailwindcss Thanks for sharing this

Surjith S M ✪ profil fotoğrafı
Surjith S M ✪3 yıl önce

@tailwindcss 🤜🤛

Abraham profil fotoğrafı
Abraham3 yıl önce

@tailwindcss How does this fare for accessibility?

Surjith S M ✪ profil fotoğrafı
Surjith S M ✪3 yıl önce

@tailwindcss This is keyboard accessible + tried with mac voiceover and it worked without any issues. Also working on mobile.

Benzer Videolar