forked from fanruan/fineui-custom-tutorials
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
444 B
29 lines
444 B
.position-absolute(){ |
|
position: absolute; |
|
} |
|
|
|
.position-relative(){ |
|
position: relative; |
|
} |
|
|
|
.position-left-top(@left:0px, @top:0px){ |
|
position: absolute; |
|
left: @left; |
|
top: @top; |
|
} |
|
|
|
.position-right-bottom(@right: 0px, @bottom: 0px){ |
|
position: absolute; |
|
right: @right; |
|
bottom: @bottom; |
|
} |
|
|
|
.relative-left-top(@left:0px, @top: 0px){ |
|
position: relative; |
|
left: @left; |
|
top: @top; |
|
} |
|
|
|
.z-index-layer( @index: 0 ){ |
|
z-index: @index; |
|
} |