Applying SuperflyCSS Naming Conventions During Component Design

Ole Ersoy
Dec 31, 2020

--

Image by Thanks for your Like • donations welcome from Pixabay

Scenario

We are designing a TopicMeta CSS component and we need guidance on how to apply SuperflyCSS naming conventions.

Approach

This is our markup:

Notice that descendants like TopicMeta_author can be nested within other descendants like TopicMeta_contentContainer .

Brought to You By

--

--

Ole Ersoy

Founder of Firefly Semantics Corporation