The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Codekit won’t compile svg…

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #43607

    Hi everyone, I’ve followed Kyle Foster’s video for using SVG’s by importing the mobile fish code into the css as background, however i’m getting an error. I’ve gone back and tried this process over again a couple of times, but still not working. Any ideia?

    Here is what codekit is spitting out:

    Compass was unable to compile one or more files in the project:

    error global.scss (Line 34: Invalid CSS after “…round: url(data”: expected comma, was “:image/svg+xml;…”)
    identical global.css

    and for my code, I am using

    .logo {
    background: url(data:image/svg+xml;base64,[data]);

    with the codefish code in place of the “[data]”


    solved by taking out space between comma and the data..

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.