Hello community,
I’m making the switch to Bricks Builder and Core Framework, and as a newcomer to CSS frameworks, I have a few questions to ensure a smooth transition:
1. Since I’m using the BEM methodology, I’m wondering if it’s still necessary or beneficial to use Core Framework’s utility classes. Should I primarily rely on BEM or is there a recommended way to combine both approaches?
2. I’m also transitioning from pixel-based sizing to fluid typography using `em` and `rem`. What are the most effective ways for using fluid typography within Core Framework?
3. I’d be grateful for any general advice or best practices for effectively using Bricks Builder with Core Framework.
Thanks in advance!
[ad_2]
I think using both utility classes and BEM classes is the way to go. If something occurs only once and is simple, let’s say things inside a header, I use CF classes. If some component is repeated in multiple templates or is somewhat complex, I would go for BEM. The point is to make potential future redesigns simple – and that is the key thing to consider.
Using utility classes can make your stylesheet shorter, but you should ask yourself “what if I want to change something sitewide in the future?”. And then, in some cases BEM might be the right approach.