Shiva Kumar 's Blog

Start small,Think Big


Loading fonts from assets in rails 3.1

I got lot confused when loading new fonts to my project in rails 3.1 and stackoverflow confused me more ..Actually its very simple .Lets say you have list of fonts First create a fonts directory under assets folder then move all the fonts there.You want to load a font .Insert  @font-face  before the css property [...]

, , , ,