Skip to content

Commit 61937a8

Browse files
committed
adding resizable class and mixin
1 parent 15e0068 commit 61937a8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

bootstrap.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* http://www.apache.org/licenses/LICENSE-2.0
77
*
88
* Designed and built with all the love in the world @twitter by @mdo and @fat.
9-
* Date: Thu Oct 27 23:45:36 PDT 2011
9+
* Date: Fri Oct 28 18:57:30 PDT 2011
1010
*/
1111
/* Reset.less
1212
* 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).

lib/mixins.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@
135135
column-gap: @columnGap;
136136
}
137137

138+
// Make any element resizable for prototyping
139+
.resizable(@direction: both) {
140+
resize: @direction; // Options are horizontal, vertical, both
141+
overflow: auto; // Safari fix
142+
}
143+
138144
// Add an alphatransparency value to any background or border color (via Elyse Holladay)
139145
#translucent {
140146
.background(@color: @white, @alpha: 1) {

0 commit comments

Comments
 (0)