css-class


In Cascading Style Sheets (CSS), a class is a group of elements that are assigned the same style attributes. Classes are typically used to apply styles to multiple elements in a webpage, rather than applying the same styles to each element individually. This allows for more flexibility and control over the styling of a webpage, and makes it easier to make changes to the styles of multiple elements at once.


To use a CSS class, you first need to define the class in your stylesheet (Project > Properties > Styles menu) using the .classname syntax. For example:


.myclass {

  color: red;

  font-weight: bold;

}


This defines a class called myclass that will make text red and bold. To apply this class to an element on your webapp, you would select the class name in the advenced css-class property.