
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
@privyid/tailwind-extended
Advanced tools
Add missing tailwind utilities
yarn add -D @privyid/tailwind-extended
Then, add into tailwind.config.js
module.exports = {
plugins: [
require('@privyid/tailwind-extended')
],
// ...
}
| Class | Properties |
|---|---|
.horizontal-tb | writing-mode: horizontal-tb |
.vertical-rl | writing-mode: vertical-rl |
.vertical-lr | writing-mode: vertical-lr |
Similar to native tailwind aspect-ratio but with fallback for old browser.
/* Tailwind Core aspect-ratio */
.aspect-video {
aspect-ratio: 16 / 9;
}
/* Aspect Ratio Compat */
.aspect-compat-video {
aspect-ratio: 16 / 9;
}
@supports not (aspect-ratio: 1/1) {
.aspect-compat-video::before {
content: '';
float: left;
padding-top: calc(100% * 16/9);
}
.aspect-compat-video::after {
content: '';
display: block;
clear: both;
}
}
| Class | Properties |
|---|---|
.mi-1 | margin-inline: 0.25rem |
.ms-1 | margin-inline-start: 0.25 |
.me-1 | margin-inline-end: 0.25 |
Other values is similar to Margin.
| Class | Properties |
|---|---|
.pi-1 | padding-inline: 0.25rem |
.ps-1 | padding-inline-start: 0.25 |
.pe-1 | padding-inline-end: 0.25 |
Other values is similar to Padding.
Flex Gap alternative, using negative margin method. Given space between child element in x and y direction.
If you not use flex-wrap or similar "break wrap" things,
better use space-x or space-y.
.space-gap-1 {
margin-top: -0.5rem;
margin-left: -0.5rem;
& > * {
margin-top: 0.5;
margin-left: 0.5rem;
}
}
Note: you can't use space-gap together with mt-* and ml-*. You need wrap the element.
<!-- Not Work -->
<div class="mt-4 space-gap-2">
<!-- Content -->
</div>
<!-- Work -->
<div class="mt-4">
<div class="space-gap-2">
<!-- Content -->
</div>
</div>
Other values is similar to Space.
FAQs
Add missing tailwind utilities
We found that @privyid/tailwind-extended demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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 scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies