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

DKIM and DMARC Records Required

Important, New Gmail and Yahoo Requirements for 2024 Gmail and Yahoo are implementing new rules in 2024 to make inboxes safer and less “spammy”.  To get bulk (autoresponder) emails delivered, you will need to follow these rules. All emails sent by any kind of bulk emailer which do not abide by these rules will not be delivered.  Here are the three (3) new rules. Emails must be sent from a custom domain. @Gmail and @Yahoo emails addresses can no longer be used. These email address were intended for personal use not mass promotional emailing.  If you are currently using a @gmail or @yahoo, you will need to get a custome domain. I use NameCheap where you can get an email only account as low as $0.99/month (first 60 days free). Or, you can get NameCheap hosting with 30 or more emails for as low as $1.98/month with a free domain

Read More
7 Reasons Affiliates Fail

7 Reasons Affiliates Fail #1

Have you ever signed up for a product or service just because you saw the exact same ad over and over again?
I certainly have. I am sure my thought process was something like. “if so many people are advertising this, it must be good.”
I did that a few times until I learned my lesson from a great book

Read More

7 Reasons Affiliates Fail

In my experience with affiliate marketing, I hear 7 reasons over and over that affect the results achieved by affiliate marketers. There are other reasons as well, but these 7 seem to be the most common.

Read More