Closed greggman closed 8 years ago
It's valid to have . in an anchor. Example:
.
<a href="#.foo"></a> <a id=".foo"></a>
But it's not valid to use #.foo as a selector. The solution is to escape the ..
#.foo
See http://stackoverflow.com/questions/35980786/why-is-id-a-bad-selector-in-css-jquery-yet-it-works-in-an-html-anchor
It's valid to have
.
in an anchor. Example:But it's not valid to use
#.foo
as a selector. The solution is to escape the.
.See http://stackoverflow.com/questions/35980786/why-is-id-a-bad-selector-in-css-jquery-yet-it-works-in-an-html-anchor