Brandon McConnell 40f506f317
v3: Allow hyphen character in regex pattern to use support queries as is (#13605)
This is the v3 equivalent of PR #13596

Matching for the hyphen character in the existing regex to use support
queries as-is

Resolves #13594

Tests (w/ updated):
-  `supports-[display:grid]:grid`
-  `supports-[transform-origin:5%_5%]:underline`
-  `supports-[not(foo:bar)]:underline`
-  `supports-[(foo:bar)or(bar:baz)]:underline`
-  `supports-[(foo:bar)and(bar:baz)]:underline`
-  `supports-[(foo:bar)_and_(bar:baz)]:grid`
-  `supports-[(foo:bar)_and_(bar:baz)_or(baz:qux)]:grid`
-  `supports-[container-type]:underline`
-  `supports-grid:underline`
-  `supports-[--test]:flex`
-  `supports-[selector(A_>_B)]:underline`
-  `supports-[font-format(opentype)]:grid`
-  `supports-[font-tech(color-COLRv1)]:flex`

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2025-01-28 17:42:09 +01:00
2024-12-03 14:25:44 -05:00
2024-12-17 13:46:50 -05:00
2024-11-28 11:12:08 +01:00
2023-04-25 17:42:58 -04:00
2022-02-05 15:22:47 -05:00
2024-12-17 13:46:50 -05:00
2024-12-17 13:46:50 -05:00
2024-08-07 17:18:38 +02:00
2024-03-22 17:12:14 +01:00

Tailwind CSS

A utility-first CSS framework for rapidly building custom user interfaces.

Build Status Total Downloads Latest Release License


Documentation

For full documentation, visit tailwindcss.com.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss Tailwind CSS on GitHub

For casual chit-chat with others using the framework:

Join the Tailwind CSS Discord Server

Contributing

If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.

Description
A utility-first CSS framework for rapid UI development.
Readme 224 MiB
Languages
JavaScript 90.6%
CSS 7.6%
HTML 1.7%