Posts

Showing posts with the label itcss

Global scope elements within ITCSS

Image
Clash Royale CLAN TAG #URR8PPP Global scope elements within ITCSS I've been developing front-end for 15 years. I may have become stuck in my ways, but in my front-end realm the architecture and the order by which scoped elements get developed is simple - setting aside pattern libraries, and the finer modular details. I'm in the process on refining a new boilerplate, and the closest I can find that suits my idealogy - its a mashup of SMACSS, OOCSS and ITCSS. But, for the sake of making my projects legacy friendly for other developers I selected ITCSS as the core framework architecture, and anything else will progressively turn into OOCSS. Fine. The one part I'm having difficulty decided on, is how/where to place my partials for the elements on the global scope, so header, main footer. A lot of developers prefer to use them only once throughout their markup, as it makes for a cleaner, more maintainable way of managing the front-end. So with regards to the ITCSS framework, whi...