VOOZH about

URL: https://www.geeksforgeeks.org/css/semantic-ui-message-dismissable-block-type/

⇱ Semantic-UI Message Dismissible Block Type - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Semantic-UI Message Dismissible Block Type

Last Updated : 5 Aug, 2025

Semantic UI is an open-source framework that has some predefined classes to make our website look beautiful and responsive. It is similar to bootstrap as it has pre-defined classes for use. It used CSS and jQuery to build the interface. It has some different types of elements that help us to create a beautiful website. 

Semantic-UI Message is used to show some important information. The Dismissible Block Type is used to hide the message when the user wants it. To hide the message, we will use the jQuery click() method. In this article, we will discuss Message Dismissible Block Type in Semantic-UI.

Semantic-UI Message Dismissible Block Type Classes:

  • message: This class is used to create the message.
  • close icon: This class is used to create the close icon to dismiss the message.

Syntax:

<div class="ui message">
 <i class="close icon"></i>
 <div class="header">
 ....
 </div>
</div>

Example: The following example demonstrates the Semantic-UI Message Dismissible Block Type.

Output:

👁 Image
Semantic-UI Message Dismissible Block Type


Reference: https://semantic-ui.com/collections/message.html#dismissible-block

Comment