Ensure [hidden] works as expected (#4873)
This commit is contained in:
parent
dc0a0634aa
commit
a3230307f3
5 changed files with 40 additions and 0 deletions
|
|
@ -237,3 +237,11 @@ video {
|
|||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure the default browser behavior of the `hidden` attribute.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
8
tests/fixtures/tailwind-output-flagged.css
vendored
8
tests/fixtures/tailwind-output-flagged.css
vendored
|
|
@ -538,6 +538,14 @@ video {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure the default browser behavior of the `hidden` attribute.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
*, ::before, ::after {
|
||||
--tw-border-opacity: 1;
|
||||
border-color: rgba(229, 231, 235, var(--tw-border-opacity));
|
||||
|
|
|
|||
8
tests/fixtures/tailwind-output-important.css
vendored
8
tests/fixtures/tailwind-output-important.css
vendored
|
|
@ -538,6 +538,14 @@ video {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure the default browser behavior of the `hidden` attribute.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
*, ::before, ::after {
|
||||
--tw-border-opacity: 1;
|
||||
border-color: rgba(229, 231, 235, var(--tw-border-opacity));
|
||||
|
|
|
|||
|
|
@ -538,6 +538,14 @@ video {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure the default browser behavior of the `hidden` attribute.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
*, ::before, ::after {
|
||||
border-color: #e5e7eb;
|
||||
}
|
||||
|
|
|
|||
8
tests/fixtures/tailwind-output.css
vendored
8
tests/fixtures/tailwind-output.css
vendored
|
|
@ -538,6 +538,14 @@ video {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure the default browser behavior of the `hidden` attribute.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
*, ::before, ::after {
|
||||
--tw-border-opacity: 1;
|
||||
border-color: rgba(229, 231, 235, var(--tw-border-opacity));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue