Apr 22 2009
∞
Useful Textmate tricks for CSS
- Cmd-shift-C opens up the Apple Color Picker. If you already had a hex color code highlighted, it shows that color.
For box model math, I like to do this:
div { width: 88px; /* 100 - 5 - 1 - 5 - 1 */ padding: 0 5px; border: 1px solid #000; }But sometime my brain doesn’t want to handle that math. But if you highlight an math expression and hit Ctrl-shift-C, you can have Textmate evaluate it for you.