In Forward Slash we divide classes into four types according to their function:
<aside> 💡 All classes used in Forward Slash must belong to one, and only one, of these four class types.
</aside>
Let's take a look at the Lego bricks to understand the classification of classes in The System.
Let us now extrapolate this idea from Lego to class classification in The System.
Let's see in detail the characteristics of each of these types of classes.
Another way to delve into this classification of classes in The System is to think in terms of content and container, on which the basic and component classes serve to create the content and the structural classes are the container of said content.
A good example of content and container is that of a newly built house that is for sale. When we go to visit it, what we see is the container. The furniture and belongings with which we will fill the spaces, the content.
Functional classes represent the “+1” in our class ranking.
As its name suggests, The System seeks to systematize our work in Webflow. That is why scales and value systems take on great relevance. This is how the fourth type of classification is born, the Functional classes.
Functional classes are sets of classes on which the scales and value systems, that are fundamental to our project, take shape.
A set of functional classes are called modules. Where each of the classes within a module offers a different value for the same behavior. The clearest example of a functional module is that of vertical spacing, for which each class within this module defines a different vertical space between elements.
As a consequence of systematizing the values we use, functional classes act as support classes, giving us a set of tools (classes) to create recursive styles without creating duplication of CSS instructions.
Prev
<aside> ⬅️ Forward Slash
</aside>
Next
<aside> ➡️ Basic classes
</aside>