]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
adding resizable class and mixin
authorMark Otto <mark.otto@twitter.com>
Sat, 29 Oct 2011 01:57:37 +0000 (18:57 -0700)
committerMark Otto <mark.otto@twitter.com>
Sat, 29 Oct 2011 01:57:37 +0000 (18:57 -0700)
bootstrap.css
lib/mixins.less

index 44556b44188f3e55ce4745d99d23238cdd9f1a5c..1bc26041b79be2fe251798c1cc4a30c4e956b17b 100644 (file)
@@ -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).
index 5d96124867a72cc38d5eb1e6e6820738e6e34e83..c83ada6e162f89307f8685845595f53249234ad1 100644 (file)
           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) {