0
0
SASSmarkup~5 mins

Future CSS features replacing SASS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What CSS feature can replace SASS variables?
CSS Custom Properties (also called CSS variables) allow you to store values and reuse them throughout your CSS, similar to SASS variables.
Click to reveal answer
intermediate
How does CSS nesting compare to SASS nesting?
CSS nesting lets you write selectors inside other selectors, just like SASS nesting, making styles easier to read and maintain without extra tools.
Click to reveal answer
intermediate
What is the CSS @layer rule and how does it relate to SASS?
@layer helps organize and control the order of CSS rules, similar to how SASS partials and imports manage style order.
Click to reveal answer
advanced
Can CSS replace SASS mixins? If yes, how?
Yes, CSS @custom-media and @property rules, combined with functions and variables, can replace some mixin uses by reusing styles and logic.
Click to reveal answer
beginner
Why might developers still use SASS even with new CSS features?
SASS offers powerful features like loops, conditionals, and functions that CSS does not fully support yet, so some projects still benefit from SASS.
Click to reveal answer
Which CSS feature allows you to reuse values like SASS variables?
ACSS Grid
B@import rule
CCSS Animations
DCSS Custom Properties
What does CSS nesting allow you to do?
AWrite selectors inside other selectors
BCreate animations
CImport external stylesheets
DDefine font styles
Which CSS rule helps control the order of styles like SASS imports?
A@layer
B@media
C@font-face
D@keyframes
Can CSS fully replace SASS mixins today?
AYes, CSS has all mixin features
BOnly with JavaScript
CNo, CSS lacks some features like loops and conditionals
DOnly in older browsers
Why do some developers still prefer SASS?
ABecause CSS is not supported in browsers
BBecause it supports advanced logic like loops and conditionals
CBecause SASS is faster to load
DBecause SASS uses less memory
Explain how CSS custom properties can replace SASS variables and give an example.
Think about how you store and reuse colors or sizes in CSS.
You got /3 concepts.
    Describe the benefits of CSS nesting and how it compares to SASS nesting.
    Consider how nesting helps organize selectors.
    You got /3 concepts.