Dagmawi Babi
6.8K subscribers
15.7K photos
2.11K videos
243 files
2.23K links
Believer of Christ | Creative Developer.

Files Channel: https://t.me/+OZ9Ul_rSBAQ0MjNk

Community: @DagmawiBabiChat
Download Telegram
Tailwind has this really cool feature where you can tell "group" or "peer" tags to what class they're referring to when they're being nested.

Read even more epic features in this blog post
https://tailwindcss.com/blog/tailwindcss-v3-2

Big W 🔥

#Tailwind #Programming #CodeSnippets
@Dagmawi_Babi
Please open Telegram to view this post
VIEW IN TELEGRAM
September 29, 2024
You can remove any and all scrollbars in tailwind using this tiny block of code.

@layer utilities {
/* Hide scrollbar for Chrome, Safari, and Opera */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge, and Firefox */
.no-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
}


Add the utilities layer in your global.css and use the no-scrollbar style anywhere

#Tailwind #Tips #CodeSnippets
@Dagmawi_Babi
January 24