.mysize( @horizontal, @vertical, @degree){
width:round(
@horizontal*cos(
(@degree*pi())/180));
height:round(
@vertical*sin(
(@degree*pi())/180));
}
.myclass_1{
.mysize(320,240,30);
background-color:blue;
}
.myclass_2{
.mysize(320,240,60);
background-color:blue;
}
Dosyayı İndir