]]
solution using lletion lless
by introducing a series of square elements and calculating their sizes, we can create an effective solution:.loop(@i) when (@i > 0){
.loop((@i - 1));
.space@{i}{
width: floor(@i*@hSize/(1/tan(5deg)));
}
}
@hSize: 15px;
.space {
float: left;
clear: left;
width: @hSize;
height: @hSize;
}
.loopp(&&&][ (@I > 0){
.Lop((@I - 1));
.Space@{I}{
WIDTH: Floor(@i*@hsize/(1/tan(5deg)));
}
}
@hsize: 15px;
.Space { Space
Float: Left;
Clear: Left;
WIDTH: @hsize;
Height: @hsize;
}
Lorem ipsum dolor sit amet. Vestibulum commodo volutpat a, convallis ac, laoreet enim. Phasellus fermentum in, dolor. Pellentesque facilisis. Nulla imperdiet sit amet magna. Vestibulum dapibus, mauris nec malesuada fames ac turpis velit, rhoncus eu, luctus et interdum adipiscing wisi. Aliquam erat ac ipsum. Integer aliquam purus. Quisque lorem tortor fringilla sed, vestibulum id, eleifend justo vel bibendum sapien massa ac turpis faucibus orci luctus non, consectetuer lobortis quis, varius in, paragraph.
html]] HTML, We incorporate these elements as follows:
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3