question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid css selector

See original GitHub issue

Current 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
limontecommented, Aug 22, 2019

image

Sometimes my brain doesn’t work s expected 😆

1reaction
toveruxcommented, Aug 22, 2019

Ah, that’s the annoying message I was getting in my Angular builds for months. I should have taken a closer look 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found