1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-29 23:09:05 +02:00

adding resizable class and mixin

This commit is contained in:
Mark Otto
2011-10-28 18:57:37 -07:00
parent 15e0068979
commit 61937a803b
2 changed files with 7 additions and 1 deletions

View File

@@ -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) {