Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shrutibalasa/tailwind-grid-auto-fit

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shrutibalasa/tailwind-grid-auto-fit - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

1

index.js

@@ -15,2 +15,3 @@ const plugin = require('tailwindcss/plugin')

gridAutoFit: {
'DEFAULT': '16rem',
'xs': '12rem',

@@ -17,0 +18,0 @@ 'sm': '14rem',

14

package.json
{
"name": "@shrutibalasa/tailwind-grid-auto-fit",
"version": "1.0.2",
"version": "1.1.0",
"description": "Tailwind CSS utility classes for creating responsive grid columns without media queries using auto fit.",

@@ -12,6 +12,12 @@ "main": "index.js",

"devDependencies": {
"tailwindcss": "^3.0.0"
},
"tailwindcss": "^3.0.0"
},
"repository": "https://github.com/ThirusOfficial/tailwind-grid-auto-fit",
"keywords": ["tailwind css", "grid auto fit", "responsive grid", "resposive grid layout in Tailwind CSS", "Tailwind CSS Grid utility classes"]
"keywords": [
"tailwind css",
"grid auto fit",
"responsive grid",
"resposive grid layout in Tailwind CSS",
"Tailwind CSS Grid utility classes"
]
}

@@ -29,6 +29,6 @@ # Grid Auto Fit for Tailwind CSS

Use the class `grid-auto-fit-*` along with `grid` class to create a responsive grid layout.
Use the class `grid-auto-fit` along with `grid` class to create a responsive grid layout.
```
<section class="grid gap-4 grid-auto-fit-sm">
<section class="grid gap-4 grid-auto-fit">
<div class="p-4 bg-blue-100 rounded-md">

@@ -58,13 +58,13 @@ Item 1

## Choosing a grid item size
## Changing the grid item size
This plugin includes five item sizes by default
Use utilities like `.grid-auto-fit-sm`, `.grid-auto-fit-xl` to change the minimum and maximum item size of the responsive grid. This plugin includes five item sizes with the default minimum size being 16rem.
| Class | Minimum item width |
| ------------------ | ------------------ |
| `grid-auto-fit-xs` | `12rem` |
| `grid-auto-fit-sm` | `14rem` |
| `grid-auto-fit-md` | `16rem` |
| `grid-auto-fit-lg` | `18rem` |
| `grid-auto-fit-xl` | `20rem` |
| Class | Minimum item width |
| ------------------------------------- | ------------------ |
| `grid-auto-fit-xs` | `12rem` |
| `grid-auto-fit-sm` | `14rem` |
| `grid-auto-fit` or `grid-auto-fit-md` | `16rem` |
| `grid-auto-fit-lg` | `18rem` |
| `grid-auto-fit-xl` | `20rem` |

@@ -71,0 +71,0 @@ ## Arbitrary values

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc