2016-05-17 72 views
-1

是否有字體重量輕或任何html符號的盧比字體文件?盧比html字體重量輕

下面是我的代碼:

HTML:

<div class="price"><span class="INR">Rs.</span> 40,000</div> 

CSS:

@font-face{font-family:'WebRupee'; 
     src:local('../fonts/web-rupee.eot'); 
     src:local('WebRupee'), 
      url('../fonts/web-rupee.ttf') format('truetype'), 
      url('../fonts/web-rupee.woff') format('woff'), 
      url('../fonts/web-rupee.svg') format('svg'); 
     font-weight:normal; 
     font-style:normal} 
.INR{font-family:'WebRupee';font-size:100%;font-weight:normal; margin-right:.2em} 
.price{font: 100 40px Roboto;} 

我想盧比字體是重量輕。

感謝

+0

使用'字體重量:100' – keziah

+0

它不工作:( –

+0

如果您的機器支持Unicode 6.0,其操作簡單,只需$(&xslt;) 和另一種方式:

回答

0

如果你的機器支持Unicode 6.0的那麼容易,因爲₹(&#x20B9;) 和另一種方式:

<span style='font-weight:100;'>&#8377;</span>