Attributes of CSS Components¶
Attributes¶
properties¶
properties
is a dictionary that contains all the properties of a CSS component. It is a required attribute of a Selector
element. You have to pass a dictionary to this attribute. The keys of the dictionary are the properties of the CSS component and the values of the dictionary are the values of the properties. Here is an example:
Example of properties attribute | |
---|---|
Output:
Output of the above code | |
---|---|
Fronty returns every frontend code minified for better performance.