Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor CSS to use cascade layers #17

Open
aqandrew opened this issue Feb 15, 2024 · 1 comment
Open

refactor CSS to use cascade layers #17

aqandrew opened this issue Feb 15, 2024 · 1 comment

Comments

@aqandrew
Copy link
Owner

Adam Argyle stated in a video that cascade layers are a helpful CSS feature for declaring the order in which styles will be overwritten.

These sequential imports can then be condensed into a single line of CSS:

import '../assets/css/variables.css';
import '../assets/css/global.css';
import '../assets/css/utils.css';

@aqandrew
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant