Lass and Sass

Source: Internet
Author: User

LASS

1. Import: filename of the file where the @import is located
2. Variable: @ name: value attribute name: @ name;
3. Mix:. Name {multiple attribute: value}. Name;
4. Mixed with parameters:. Name (@ name {property}). Name (value)
5. Multi-parameter blending:. Name (@x,@y,@&) {multiple attribute: value}. Name (x,y,&);
PS: File name post-stamp:. Lass

SASS

1.$ variable Name ($ property: value;) Property Name: $ name {value}
2.mixin Mixed parameters: @mixin declaration blending, called by @include:
@mixin name {multiple attribute: value} @inciden name: {value}
3.mixin Multi-parameter blending: mixin name ($x, $y,$&)
: @include name (x,y,&)
PS: File name post-stamp:. Scss and. Sass suggested using the former

Lass and Sass

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.