Sass ææ¡£
Sass æ¯ä¸ç§ CSS çé¢ç¼è¯è¯è¨ã宿ä¾äº åéï¼variablesï¼ãåµå¥ï¼nested rulesï¼ã æ··åï¼mixinsï¼ã 彿°ï¼functionsï¼çåè½ï¼å¹¶ä¸å®å ¨å ¼å®¹ CSS è¯æ³ãSass è½å¤å¸®å©å¤æçæ ·å¼è¡¨æ´ææ¡çï¼ å¹¶ä¸æäºå¨é¡¹ç®å é¨æè·¨é¡¹ç®å ±äº«è®¾è®¡ã
-
å¦ææ¨æ£å¨å¯»æ¾æå ³ Sass çä»ç»ï¼è¯·æ¥ç æ¬æç¨ã
-
å¦ææ¨æ³æ¥æ¾å ç½®ç Sass 彿°ï¼åªéæ¥ç å 置模åæåã
-
妿è¦å¨ JavaScript ä¸è°ç¨ Sassï¼å¯è½éè¦ JS API ææ¡£ã
-
æè Dart API ææ¡£ï¼å¦æä½ æ¯ç¨ Dart è°ç¨çè¯ã
å¦åï¼è¯·éè¿åèæåç®å½æ¥æ¾ï¼
Older Versions permalinkOlder Versions
This documentation is written for the most recent version of the Sass language. If you’re using Dart Sass 1.45.2, you’ll have access to all the features described here. But if you’re using an older version of Dart Sass or a deprecated Sass implementation like LibSass or Ruby Sass, there may be some behavioral differences.
Anywhere behavior differs between versions or implementations, the documentation includes a compatibility indicator like this:
- Dart Sass
- â
- LibSass
- since 3.6.0
- Ruby Sass
- â
Implementations with a “â” fully support the feature in question, and implementations with a “â” don’t support it all. Implementations with a version number started supporting the feature in question at that version. Implementations can also be marked as “partial”:
- Dart Sass
- â
- LibSass
- partial
- Ruby Sass
- â
Additional details go here.
This indicates that the implementation only supports some aspects of the feature. These compatibility indicators (and many others) have a “â¶” button, which can be clicked to show more details about exactly how the implementations differ and which versions support which aspects of the feature in question.