parseCssSizeToPx | R Documentation |
parseCssSizeToPx
will take a CSS style and convert it to pixels
Supported input size units are in, cm, mm, pt, pc, px, em,
are converted exactly: in, cm, mm, pt, pc: using 1in = 2.54cm = 25.4mm =
72pt = 6pc. The following are converted approximately: px, em,
approx 1em=16px=12pt and 100
parseCssSizeToPx(size)
size |
A size specified in common CSS units. |
The size converted to pixels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.