Semantic-UI Menu Active State
Semantic UI open-source framework gives icons or glyphs that are used to show pictures related to some elements using CSS and jQuery that is used to create great user interfaces. It is a development framework used to create beautiful and responsive layouts.
Semantic UI Menu is a group of elements that displays different navigation actions. We can navigate to different pages of the website. A menu can be a combination of links, a search bar, and dropdowns.
Semantic UI Menu Active State specifies that the item is clicked and active. The button appears in darker contrast to other buttons or links.
Semantic UI Menu Active State Class:
- active: Adding this class to the item, the item becomes active.
Syntax: Add the class active to the item as follows:
<div class="link active item"> Machine Learning </div>
Example: In the following example, if the user clicks on any link, the item becomes active, and if clicked again, it becomes inactive.
Please Login to comment...