sass - when compass save scss file to css file the " @font face ( name, font-file( ) ) " doesn't work properly -


i try use woff file change font. can u guys me why css take weird numbers after extension

config.rb

fonts_dir = "stylesheets/fonts" 

scss

@include font-face("caviardreams", font-files("caviardreams-      webfont.woff", "caviardreams-webfont.ttf", "caviardreams-webfont.svg", "caviardreams-webfont.eot") ); 

css

@font-face { font-family: "caviardreams"; src: url('/stylesheets/fonts/caviardreams-webfont.woff?1436806012') format('woff'), url('/stylesheets/fonts/caviardreams-webfont.ttf?1436806012') format('truetype'), url('/stylesheets/fonts/caviardreams-webfont.svg?1436806012') format('svg'), url('/stylesheets/fonts/caviardreams-webfont.eot?1436806012') format('embedded-opentype');} 

i guess when compass find font gives url weird number('?1436806012'), , doesnt work in chrome browser. if guys need whole code. please tell me

i found solution.

if have same problem have,

it's "config.rb" need uncomment relative_assets = "true"

what mean "remove #" #relative_assets = "true"

but don't if use http_font_dir


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -