Brackets Inline Units Conversion Extension (px to em /em to px etc.)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
InlineUnitHelper.html
InlineUnitHelper.js Update InlineUnitHelper.js Feb 23, 2015
LICENSE
README.md
UnitUtils.js
main.js
package.json

README.md

Insya Brackets Units

Brackets Inline Units Conversion Extension (px to em / em to px etc.)

Installation

  • Method 1: Open the Brackets Extension Manager and search for brackets units
  • Method 2: Download directly from GitHub using either the latest release and install the contents to extensions/user/insya-units folder.

Units

%	percentage
in	inch
cm	centimeter
mm	millimeter
em	1em is equal to the current font size. 2em means 2 times the size of the current font. E.g., if an element is displayed with a font of 12 pt, then '2em' is 24 pt. The 'em' is a very useful unit in CSS, since it can adapt automatically to the font that the reader uses
ex	one ex is the x-height of a font (x-height is usually about half the font-size)
pt	point (1 pt is the same as 1/72 inch)
pc	pica (1 pc is the same as 12 points)
px	pixels (a dot on the computer screen)

Using

Select & CTRL+E

Screencast

Brackets Inline Units Conversion Extension

Roadmap

Brackets Tools

https://github.com/yasinkuyu/brackets-tools

License

The MIT License

Created 2014 Yasin Kuyu - @yasinkuyu