ComboStrap Styling - Class attribute

About

Because all ComboStrap UI component are implemented as super set HTML element, you can apply the class attributes.

The class attribute is used intensively by Bootstrap to apply the Bootstrap Utilities.

ComboStrap already implements most of this utilities through the standard attributes but in the case that you need something really advanced, you can always take the control over and apply them.

Example

Example:

  • The markup
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 

<note class="invisible" >
A note that is no more visible
</note>

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  • The output:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Generated

To be able to style as you wish, combostrap add a generated class for each element of a component.

More ? See ComboStrap Styling - User stylesheet (userstyle.css)

Powered by ComboStrap