tailwindcss-touch
Advanced tools
Comparing version 0.0.2 to 0.0.3
const postcss = require('postcss') | ||
module.exports = function() { | ||
function({ addVariant }) { | ||
return function({ addVariant }) { | ||
addVariant('pointer-coarse', ({ container, separator }) => { | ||
@@ -6,0 +6,0 @@ const supportsRule = postcss.atRule({ name: 'media', params: '(pointer: coarse)' }) |
{ | ||
"name": "tailwindcss-touch", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A collection of touch variants for the tailwindcss framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Tailwind Touch Plugin | ||
This plugin adds a collection of variants to allow fine grain control over how elements appear on touch and non touch devices, CSS Tricks does a great job of detailing how the underlying media queries work you can read more about this here: https://css-tricks.com/touch-devices-not-judged-size. | ||
## Installation | ||
@@ -23,4 +25,2 @@ | ||
This plugin adds a collection of variants to allow fine grain control over how elements appear on touch and non touch devices, CSS Tricks does a great job of detailing how the underlying media queries work you can read more about this here: https://css-tricks.com/touch-devices-not-judged-size. | ||
The following variants are currently available: | ||
@@ -27,0 +27,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4699