Minor doc tweak

This commit is contained in:
Mark Perkins
2012-06-25 12:36:54 +01:00
parent fc3fa8b6a6
commit 9335341fd5

View File

@@ -94,16 +94,14 @@ Generates a font-size property the font-size in ems.
* `@context-px-size`: *(Optional)* The font size (in pixels) of the current context. Defaults to the value of `@base-font-size` if not specified. * `@context-px-size`: *(Optional)* The font size (in pixels) of the current context. Defaults to the value of `@base-font-size` if not specified.
```css ```css
/* Usage: */
p { p {
.font-size-ems( 12 ); .font-size-ems( 12 );
} }
/* Output: */
/*
Outputs:
p { p {
font-size: 0.75em; font-size: 0.75em;
} }
*/
``` ```
### .font-size-rems ### .font-size-rems
@@ -118,17 +116,15 @@ Calculates the font-size in rems and provides a pixel based fallback for browser
* `@context-px-size`: *(Optional)* The font size (in pixels) of the current context. Defaults to the value of `@base-font-size` if not specified. * `@context-px-size`: *(Optional)* The font size (in pixels) of the current context. Defaults to the value of `@base-font-size` if not specified.
```css ```css
/* Usage: */
p { p {
.font-size-rems( 12 ); .font-size-rems( 12 );
} }
/* Output: */
/*
Outputs:
p { p {
font-size: 12px; font-size: 12px;
font-size: 0.75rem; font-size: 0.75rem;
} }
*/
``` ```
Grids Grids