diff options
| author | Mark Otto <[email protected]> | 2011-10-28 18:57:37 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-10-28 18:57:37 -0700 |
| commit | 61937a803b96748377dd49d50439d96d68a9e40c (patch) | |
| tree | 64c00c43b6a190158f81e54ffd8df0668aacb7c1 /lib | |
| parent | 15e0068979f7fdc75592de346e265398988ba5b5 (diff) | |
| download | bootstrap-61937a803b96748377dd49d50439d96d68a9e40c.tar.xz bootstrap-61937a803b96748377dd49d50439d96d68a9e40c.zip | |
adding resizable class and mixin
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mixins.less | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |
