From 106ec485a24e76a572baebf1cf8d8402ff2bb6f4 Mon Sep 17 00:00:00 2001 From: Pau Figueras Date: Thu, 27 Jul 2023 01:57:59 +0200 Subject: [PATCH] Add custom screen sizes --- tailwind.config.cjs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tailwind.config.cjs b/tailwind.config.cjs index 5722cf4..f175ff3 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -3,6 +3,16 @@ const config = { theme: { extend: {}, + screens: { + 'lg': {'min': '1024px'}, + // => @media (max-width: 1023px) { ... } + + 'md': {'max': '1023px'}, + // => @media (max-width: 767px) { ... } + + 'sm': {'max': '639px'}, + // => @media (max-width: 639px) { ... } + } }, plugins: [