Function EmToPx->normalise_font_size
Definitions
sources/css_cleanup.php
- Convert font units. We only want em/rem/px font sizes, so do conversions from the other possible unit types.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$font_size | string | required parameter | N/A | N/A | Font size |
Return
- Normalised font size
- Type: string
- Set: N/A
- Range: N/A