nicer [disabled] form

This commit is contained in:
Avris 2021-04-21 20:19:15 +02:00
parent 48d559cda5
commit b61ebf67b1
1 changed files with 1 additions and 19 deletions

View File

@ -133,24 +133,6 @@ strike, .text-strike {
text-decoration: line-through; text-decoration: line-through;
} }
form { form[disabled] {
position: relative;
&::before {
content: "";
display: none;
opacity: 0;
transition: opacity .5s ease-in-out;
background-color: #000;
position: absolute;
left: -1rem;
top: -1rem;
width: calc(100% + 2rem);
height: calc(100% + 2rem);
z-index: 999;
filter: blur(.5rem);
}
}
form[disabled]::before {
display: block;
opacity: .5; opacity: .5;
} }