Forums

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

Home Forums Other .htc file in CodePen?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #165355
    Davide Rizzo
    Participant

    I am trying to test the background-size pollyfill in a Pen.

    Have the .htc file uploaded as an asset but it doesn’t seem to work.
    The pollyfill says that you need to set the .htaccess to allow .htc files on your server.
    Anyone know if CodePen allows this type of file to be served?

    Here is the Pen in question.

    #165435
    Chris Coyier
    Keymaster

    I’m not sure I know enough about it to diagnose what’s going on. I see the file is uploaded and has stuff in it. And it’s being linked to from the CSS. Perhaps htc files can’t be cross-origin no matter what? We serve the appropriate cross-origin headers for all files uploaded to assets, but I wouldn’t doubt it that’s the issue there. Maybe HTC can be data URI’d?

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