3 ms·
In practice, I think a lot of people have found that you can rarely do a complete overhaul of a website’s design using only CSS. Even if you could, it would be
by tobr 8y ago
In practice, I think a lot of people have found that you can rarely do a complete overhaul of a website’s design using only CSS. Even if you could, it would be impossible to feel confident that your changes look reasonable across all uses of said CSS. So if you’re doing a big redesign you will usually have to work with logic anyway.
I think there’s truth to your second point though - reusing styles in parts of a project that does not use the same framework. Something like Tailwind CSS can be a good option then.
- gedy 8y ago> you can rarely do a complete overhaul of a website’s design using only CSS Full design yes, but branding/theming is much easier if you use an external styling framework like Bootstrap 4 or Foundation and use their component and utility classnames. We have a 300+ page app and tried the one stylesheet per component thing with theme and layout all combined in the past, and was a huge mistake. Banning most custom CSS in place of using the Bootstrap component and util classes has been so much easier.