Can We write code for a class or item or tag in another class or id item?

Can We write code like this in css3 .class1 { .class2 { } }
5 Replies
Mannix
Mannix•2y ago
not now but that will be possible in the future 🙂
Myndi
Myndi•2y ago
You can if you use PostCSS https://postcss.org/
PostCSS - a tool for transforming CSS with JavaScript
Transform CSS with the power of JavaScript. Auto-prefixing, future CSS syntaxes, modules, linting and more are possible with hundreds of PostCSS plugins.
sivacharan_3987
sivacharan_3987OP•2y ago
Udemy
Online Courses - Learn Anything, On Your Schedule | Udemy
Udemy is an online learning and teaching marketplace with over 213,000 courses and 62 million students. Learn programming, marketing, data science and more.
sivacharan_3987
sivacharan_3987OP•2y ago
But in the above video after 8:20 minutes you can observe that code for a class is written in another class code
Mannix
Mannix•2y ago
it's scss
Want results from more Discord servers?
Add your server