
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
postcss-input-style
Advanced tools
Adds new pseudo-elements to inputs for easy cross-browser styling of their Shadow-DOM elements
PostCSS plugin that adds new pseudo-elements to inputs for easy cross-browser styling of their Shadow-DOM elements.
Note that the output selectors generated (below) are not grouped because if a browser finds a single selector it doesn't understand in a group, the whole group is ignored (see Selectors Level 3)
Input
input::placeholder {
color: black;
opacity: 0.8;
}
Output
input::-webkit-input-placeholder {
color: black;
opacity: 0.8;
}
input:-moz-placeholder {
color: black !important;
opacity: 0.8;
}
input::-moz-placeholder {
color: black !important;
opacity: 0.8;
}
input:-ms-input-placeholder {
color: black !important;
opacity: 0.8;
}
Input
input[type="range"]::track {
background: #9d9d9d;
height: 3px;
}
input[type="range"]::thumb {
background: #4286be;
width: 16px;
height: 8px;
}
Output
input[type="range"]::-webkit-runnable-track {
-webkit-appearance: none !important;
background: #9d9d9d;
height: 3px;
}
input[type="range"]::-moz-range-track {
-moz-appearance: none !important;
background: #9d9d9d;
height: 3px;
}
input[type="range"]::-ms-track {
background: #9d9d9d;
height: 3px;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none !important;
background: #4286be;
width: 16px;
height: 8px;
}
input[type="range"]::-moz-range-thumb {
-moz-appearance: none !important;
background: #4286be;
width: 16px;
height: 8px;
}
input[type="range"]::-ms-thumb {
background: #4286be;
width: 16px;
height: 8px;
}
postcss([ require('postcss-input-style') ])
See PostCSS docs for examples for your environment.
--
MIT © Sean King
FAQs
Adds new pseudo-elements to inputs for easy cross-browser styling of their inner elements
The npm package postcss-input-style receives a total of 5,186 weekly downloads. As such, postcss-input-style popularity was classified as popular.
We found that postcss-input-style 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
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.