@screen_width:640px;
@screen_height:960px;
.zishiying(@nwidth,@nwidth) {
@long_width_radio:@nwidth/@nwidth;
@zhenshi_image_width:@nwidth*@screen_width/640;
@zhenshi_image_height:@zhenshi_image_width/@long_width_radio;
width:@zhenshi_image_width;
height: @zhenshi_image_height;}
.zishiyinglefttop(@nleft,@ntop)
{
@image_left_1:@nleft*@screen_width/640;
left:@image_left_1;
@image_top_1:@ntop*@screen_height/960;
top:@image_top_1;
}
.juzhongs(@jwidth)
{
left:(@screen_width-@jwidth)/2;
}.logo
{
.zishiying(100px,100px);
.zishiyinglefttop(20px,30px);}
.js
{
.juzhongs(30px);
}还是报错。。错误还是挺多的各种
否則以屬性論處
@A:0;
@A-:1;
@B:2;
@C:3;
.D{
zoom: @A-@B+@C;
}