Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
tailwind-scroll-behavior
Advanced tools
This plugin generates scroll-behavior classes.
A scroll-smooth
and scroll-auto
class will be created.
It is recommended that you use scroll-smooth
in combination with Tailwind's motion-safe
variant.
This will only enable smooth scrolling for users who have not specified they prefer reduced motion.
Add to your project via:
# Install using npm
npm install -D tailwind-scroll-behavior
# Install using yarn
yarn add -D tailwind-scroll-behavior
Add it to the plugins array of your Tailwind config.
plugins: [
require('tailwind-scroll-behavior')(), // no options to configure
]
By default, this plugin works with the motion-safe
and motion-reduce
variants. However, you can customise the
variants for the plugin, by adding to the variants section of your Tailwind config.
variants: {
scrollBehavior: ['motion-safe', 'motion-reduce', 'responsive']
}
This project is licensed under the MIT License.
FAQs
Tailwind plugin to create scroll behavior classes
The npm package tailwind-scroll-behavior receives a total of 452 weekly downloads. As such, tailwind-scroll-behavior popularity was classified as not popular.
We found that tailwind-scroll-behavior 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.