LESS Mixin for YUI Fonts 3 Font Sizing


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. .font-size(@fpx:13){
  2. @fperc:(@fpx/13)*100;
  3. font-size: ~`@{fperc} + "%"`;
  4. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.