Convert px to em

When you work with responsive designs, and not only then, you need to convert various pixel sizes to em. A very useful tool is PXtoEM.com that converts px to em, or em to px, based on a base pixel size.

The website has three sections:

1. Convert

Has tables with conversion based on 16px body size and your custom body size, and a calculator for custom conversions.

2. Grab CSS

Generates normalize.css customazied for you body size that you selected on previous section.

3. Learn

This section tells you what px, em, pt and % is, regarding typography.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s