public
Description: A TextMate bundle to ease Elastic (em-based) CSS layouts
Homepage:
Clone URL: git://github.com/kastner/elastic-css.tmbundle.git
name age message
directory Commands/ Sat Jun 14 19:03:50 -0700 2008 Extracted out the conversion to a library and m... [kastner]
file README.markdown Sun Dec 07 02:38:26 -0800 2008 fixing readme. renaming project [kastner]
directory Support/ Sat Jun 14 19:03:50 -0700 2008 Extracted out the conversion to a library and m... [kastner]
file info.plist Fri Jun 13 22:51:34 -0700 2008 initial import of fluid css bundle [kastner]
README.markdown

Fluid CSS tmBundle

em-based layouts are "hard". This TextMate bundle wraps up the repetitive task of figuring out em values based on pixel values for given font sizes.

Currently there are three commands: (all assume a line like width: 300px;)

* _⌃⇧4_ => convert to ems with 14px base font size (21.429em if it was 300px)

* _⌃⇧6_ => convert to ems with 16px base font size (18.75em if it was 300px)

* _⌃⇧5_ => convert to ems with any base font size (it will prompt you, and remember you last choice)