Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@font-face #26

Closed
netergart opened this issue Nov 10, 2015 · 2 comments
Closed

@font-face #26

netergart opened this issue Nov 10, 2015 · 2 comments
Assignees
Labels

Comments

@netergart
Copy link

Hi!

Why

@font-face {
  font-family: 'My Font';
  font-path: '/path/to/font/file';
}

compiled to

@font-face {
  font-family: 'My Font';
  src: url("../../../../../../path/to/font/file.eot");
  src: url("../../../../../../path/to/font/file.eot?#iefix") format('embedded-opentype'),
       url("../../../../../../path/to/font/file.woff") format('woff'),
       url("../../../../../../path/to/font/file.ttf") format('truetype'),
       url("../../../../../../path/to/font/file.svg") format('svg');
}

how i can remove ../../../../../../?
THX!

@madeleineostoja
Copy link
Owner

Wowza, I'm not sure what's going on here. I can't replicate on my end. How are you running Ruckasck? Are you using any other PostCSS plugins that could be interfering with paths? Like postcss-assets or something?

@netergart
Copy link
Author

Sorry, problem was in gulp-concat-css. THX!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants