Trying to put a number on a code. EX ( .24K )

Im working on a just dance style and I roundup on a blockage. I tried putting a code for the 24k Magic cover, (.24K), but it would tell me that the number 24 is an unexpected token. Is there a way to fix this? If so how?

Comments

  • You "roundup on a blockage"? Where do you get an error? If it's only a warning in the editor, and the code works, just ignore it. If it's an error you get when trying to upload to userstyles.org, you may need to adjust the syntax. Either way, if you want advice, you'll need to share the code.
  • You "roundup on a blockage"? Where do you get an error? If it's only a warning in the editor, and the code works, just ignore it. If it's an error you get when trying to upload to userstyles.org, you may need to adjust the syntax. Either way, if you want advice, you'll need to share the code.

    Heres the code,

    .24K
    {
    background-image: url(https://www.dropbox.com/s/v3oyc1jquorqz9o/24k_cover_albumcoach.png?raw=1);
    }

    But since the code starts with .24 it gives me an error of "Unexpected token '.24' at line 1885, col 1" and it doesn't let me adjust it.
  • If a selector begins with a number, escape it: .\24.
  • Good info!
    thanks.....

Sign In or Register to comment.