More CSS Acrhitecture

A couple of days ago, I talked about CSS (Cascading Style Sheets) architecture and the use of B(lock), E(lement), M(odifier) methodology. This video explains the advantages of using BEM.

I actually use a clip from the Udemy course I am taking to explain the advantages. I figure the instructor, Nick, does a great job explaining the advantages so why should I try and parrot it back.

I never understood before how helpful CSS could be. But, I have learned that well structured (BEM) CSS cqan save you time and headaches especially on a large website.

Nick teaches a way to structure BEM that makes a lot of sense to me. Blocks are short descriptors of what the block is; e.g., row. Elements are the block name, 2 underscores, and the element descriptor; e.g., row__33-percent-column. Modifiers are the block name, 2 dashes, and the modifier descriptor; e.g., row–blue-font.

Full skill ahead. Online video courses from $9.99

One of the things mentioned in the clip is that using BEM methodology takes the ‘C’ (cascading) out of CSS. This is because BEM eliminates much of the inheritance from HTML parents. This way you dont have to worry about ;inheriting’ an attribute you don’t want or need.

IAAC Video Day 119

This is my 119th day in the #iamalivechallenge. I am alive and doing very well. I hope you are doing very well as well.

Until Tomorrow, Bob

Other Posts of Interest

7 Reasons Affiliates Fail #5

7 Reasons Affiliates Fail #5

Too Much, Too Fast Have you seen the want-a-be affiliate marketers who offer Widget A this week, Product B next week, and the greatest Sevice the week after that? You may or may not know their name. But I am willing to bet you don’t pay much attention to their offers. Am I right? Couple of things to remember from previous posts. People buy from those that they KNOW, LIKE, and TRUST. You are not going to get rich in 30 days. It takes time. Do you think offering a different peroduct every week or so will do either of those things? Let’s look at the alternative that will lead to success. Pick 1 Product How to pick a product is a post all by itself. Let’s look at the most important aspects. Do research to determine what are the hot topics. Making money, health, and dating are the top

Read More