Less supplementary function, less Function

Source: Internet
Author: User

Less supplementary function, less Function

1. ceil (): rounded up
2. floor (): round down
3. percentage (): converts a floating point number to a percentage.
3. round (): Rounding
4. sqrt (): Square Root
5. abs (): absolute value
6. pow (): Multiplication operator // pow ()/* 2 to the power of 2 */
7. mod (): remainder operation
8. min () max (): obtains the maximum and minimum values.
9. Supports trigonometric functions in all mathematical functions.
10. isunit (): determines whether it is a value with a unit. // Isunit (@ a, px)/* determines whether the unit contains px */
11. rgba (): Output Color
12. argb (): Create a hexadecimal color in the format of AARRGGBB
13. hls (): color, saturation, and brightness
14. hlsa (): transparent
15. hsv (): sets the color by the color saturation.
16. hsv a (): transparent
17. The rest is about the color function. I personally think it is useless and I will not show it one by one. If you want to learn more, please find the official API
Http://lesscss.cn/functions/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.