Skip to content
Advertisement

Reduce CSS Styles

Is there a way to make the following CSS code more compact and clean?

JavaScript

Advertisement

Answer

There is no way to make that CSS more compact using pure CSS. However, you can use a framework/plugin such as SASS/SCSS or Less to do so. Frameworks/plugins are the only options, as the CSS you have currently giving different values to different elements within elements with different classes.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement