我有搞一个类似的基于less的mixin 等边三角形都加了,直角三角形,正方形,圆形也得加吧 常用的布局也可以加,比如 .wrap() { position: absolute; top: 0; bottom: 0; left: 0; right: 0; } .fixedBottom(@height:auto) { position: fixed; bottom: 0; left: 0; right: 0; height: @height; }
我有搞一个类似的基于less的mixin
等边三角形都加了,直角三角形,正方形,圆形也得加吧
常用的布局也可以加,比如
.wrap() {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.fixedBottom(@height:auto) {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: @height;
}