Browse files

.font()

  • Loading branch information...
1 parent b206eaf commit 8ab97f62d48c5149ec039f2e9d7414f54c840638 @noeltock committed Nov 28, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 less/mixins.less
View
6 less/mixins.less
@@ -15,6 +15,12 @@
box-sizing: @sizing;
}
+.font-size(@size){
+ @remsize: @size / 10;
+ font-size:~"@{size}px";
+ font-size:~"@{remsize}rem";
+}
+
/*
------------------- TWITTER BOOTSTRAP CSS3 MIXINS -------------------
*/

0 comments on commit 8ab97f6

Please sign in to comment.