I’m adding a little flair to my menu by having a back slash “/” animate from the first two menu items and a front slash “\” animate out from the last two menu items.
The quirk I noticed is that my Sublime Text and my browsers don’t recognize a single “\” but will render it just fine if I use two “\” What gives?
Backslash \ is a start of escape sequence. So using double backslash \\ means you are escaping the following character which turns out to be backslash. :)
This is used when you want to append something other than literal string. So for example line break or special Unicode character.