From 61937a803b96748377dd49d50439d96d68a9e40c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 28 Oct 2011 18:57:37 -0700 Subject: [PATCH] adding resizable class and mixin --- bootstrap.css | 2 +- lib/mixins.less | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bootstrap.css b/bootstrap.css index 44556b4418..1bc26041b7 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Thu Oct 27 23:45:36 PDT 2011 + * Date: Fri Oct 28 18:57:30 PDT 2011 */ /* Reset.less * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). diff --git a/lib/mixins.less b/lib/mixins.less index 5d96124867..c83ada6e16 100644 --- a/lib/mixins.less +++ b/lib/mixins.less @@ -135,6 +135,12 @@ column-gap: @columnGap; } +// Make any element resizable for prototyping +.resizable(@direction: both) { + resize: @direction; // Options are horizontal, vertical, both + overflow: auto; // Safari fix +} + // Add an alphatransparency value to any background or border color (via Elyse Holladay) #translucent { .background(@color: @white, @alpha: 1) {