
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
tailwindcss-placeholders
Advanced tools
TailwindCSS plugin that generates placeholder utilities.
Install it with npm or yarn.
npm install tailwindcss-placeholders
yarn add tailwindcss-placeholders
Add it to the plugins section of your tailwind.config.js file.
plugins: [
require('tailwindcss-placeholders')(),
],
Use it to override the color and opacity of the placeholder.
<input class="ph-blue-500 ph-opacity-100" type="text" placeholder="This is now blue">
For each color in theme.textColor it adds the class ph-{color}::placeholder.
For each opacity in theme.opacity it adds the class ph-opacity-{opacity}
If you're using autoprefixer, it will add the following prefixes:
.ph-blue-500::-webkit-input-placeholder {
color: #4299e1;
}
.ph-blue-500:-ms-input-placeholder {
color: #4299e1;
}
.ph-blue-500::-ms-input-placeholder {
color: #4299e1;
}
.ph-blue-500::placeholder {
color: #4299e1;
}
To avoid increasing your file size, make sure to use purgecss to remove any unused CSS.
This project is licensed under the MIT License.
FAQs
TailwindCSS plugin that generates placeholder utilities.
We found that tailwindcss-placeholders 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.