
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
tailwind-scrollbar-variants
Advanced tools
This plugin adds scrollbar variants
The built in Overflow class
<div class="overflow-[<x|y>-]overlay">...</div>
Prefix | Pseudo-Element |
---|---|
scrollbar | ::-webkit-scrollbar |
scrollbar-button | ::-webkit-scrollbar-button |
scrollbar-thumb | ::-webkit-scrollbar-thumb |
scrollbar-track | ::-webkit-scrollbar-track |
scrollbar-track-piece | ::-webkit-scrollbar-track-piece |
scrollbar-corner | ::-webkit-scrollbar-corner |
scrollbar-resizer | ::-webkit-resizer |
x-axis margins
<div class="scrollbar-track:mx-4">...</div>
Adjusted thumb opacity
<div class="scrollbar-thumb:bg-opacity-[0.1]">...</div>
Or get really crazy
Adjusted background color and opacity (shorthand)
<div class="scrollbar-thumb:bg-red-500/[0.26]">...</div>
Add it at the end of the plugins list in your tailwind.config.js
file.
module.exports = {
// ...
plugins: [
// ...
require("tailwind-scrollbar-variant"),
],
};
FAQs
Adds scrollbar variants
The npm package tailwind-scrollbar-variants receives a total of 2 weekly downloads. As such, tailwind-scrollbar-variants popularity was classified as not popular.
We found that tailwind-scrollbar-variants demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.