Invalid css selector
See original GitHub issueCurrent behavior
https://github.com/sweetalert2/sweetalert2/blob/master/src/sweetalert2.scss#L446-L453
Expected behavior
Nesting in something
Demo
Output
body.swal2-shown {
overflow: hidden;
}
/* Invalid selector */
> .swal2-input,
> .swal2-file,
> .swal2-textarea,
> .swal2-select,
> .swal2-radio,
> .swal2-checkbox {
display: none;
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:11 (6 by maintainers)
Top Results From Across the Web
invalid - CSS: Cascading Style Sheets - MDN Web Docs
The :invalid CSS pseudo-class represents any <form> , <fieldset> , <input> or other <form> element whose contents fail to validate.
Read more >CSS :invalid Selector - W3Schools
Definition and Usage. The :invalid selector selects form elements with a value that does not validate according to the element's settings.
Read more >CSS | :invalid Selector - GeeksforGeeks
This :invalid selector is used to select every form elements which does not validate according to the elements. This selector works only for ......
Read more >Why is my CSS selector invalid? [duplicate] - Stack Overflow
In CSS, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [a-zA-Z0-9] and ISO 10646 ...
Read more >What happens when you write an invalid CSS selector? (bad ...
In other words, if a browser doesn't know about the :focus-within selector, it will throw out your entire CSS rule, including the :active ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sometimes my brain doesn’t work s expected 😆
Ah, that’s the annoying message I was getting in my Angular builds for months. I should have taken a closer look 😄