๐จ
CSS to SCSS
Developer
Use CSS as compatible SCSS while keeping its custom properties and var() expressions.
0
0
CSS Input
SCSS Output (CSS syntax preserved)
:root {
--primary: #667eea;
--secondary: #764ba2;
--spacing: 16px;
}
.card {
background: var(--primary);
padding: var(--spacing);
border-radius: 8px;
}Use CSS as compatible SCSS while keeping its custom properties and var() expressions. CSS is valid SCSS.
See moreSee less about the CSS to SCSS
This tool doesn't turn runtime custom properties into Sass variables or infer a nested stylesheet architecture.
Key features
- CSS-compatible SCSS output
- Runtime custom properties retained
Related tools
Related Blog Posts
Quick answers for CSS to SCSS
What does this tool do?
Use CSS as compatible SCSS while keeping its custom properties and var() expressions.
What should I know before using it?
CSS is valid SCSS. This tool doesn't turn runtime custom properties into Sass variables or infer a nested stylesheet architecture.