Semantic-UI Header Disabled States
Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is the same as a bootstrap for use and has great different elements to use to make your website look more amazing. The best part about this framework is that it creates beautiful and responsive layouts as it contains pre-built semantic components.
Headers in a website are essential as they provide the list of the content that is present below that header. Semantic UI provides us with the header component that helps us in creating headers of various types.
There might be a situation when we want to show that a particular header is inactive at the moment. This can be achieved in Semantic UI with the help of the disabled header class.
Semantic UI Header Disabled Class:
- disabled: It is the state of the header that indicates the header is inactive at the moment.
<div class="ui disabled header"> ... </div>
Example 1: In the following example, we will be creating a single disabled header.
Example 2: In the following example, we will be creating an active header and a disabled header in order to understand the difference between them.