aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-10-28 18:57:37 -0700
committerMark Otto <[email protected]>2011-10-28 18:57:37 -0700
commit61937a803b96748377dd49d50439d96d68a9e40c (patch)
tree64c00c43b6a190158f81e54ffd8df0668aacb7c1
parent15e0068979f7fdc75592de346e265398988ba5b5 (diff)
downloadbootstrap-61937a803b96748377dd49d50439d96d68a9e40c.tar.xz
bootstrap-61937a803b96748377dd49d50439d96d68a9e40c.zip
adding resizable class and mixin
-rw-r--r--bootstrap.css2
-rw-r--r--lib/mixins.less6
2 files changed, 7 insertions, 1 deletions
diff --git a/bootstrap.css b/bootstrap.css
index 44556b441..1bc26041b 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 5d9612486..c83ada6e1 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) {