Open In App

Semantic-UI Raised Segments Group

Last Updated : 09 Mar, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Semantic UI is an open-source development framework that provides pre-defined classes to make our website look beautiful, amazing, and responsive. It is similar to Bootstrap which has predefined classes. It uses jQuery and CSS to create the interfaces. It can also be directly used via CDN like bootstrap.

Semantic UI provides the users with various segment classes which makes the segments on the websites look more elegant and beautiful. In this article let us see about the grouped segments of raised type.

The raised segments give some raising effect on the website for the segments.

Semantic UI raised segments group classes:

  • raised: This class gives the raising effect for the segment group.
  • segments: This class indicates that there is a segments group of multiple segments.

Syntax:

<div class="ui raised segments">
  <div class="ui segment">
      ........
  </div>
  
  <div class="ui segment">
      .......
  </div>
</div>

Example 1: The following code demonstrates the raised segments group.

HTML




<!DOCTYPE html>
<html>
  
<head>
    <title>Semantic-UI Raised Segments Group</title>
    <link href=
          rel="stylesheet"/>
    <script src=
            integrity=
"sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" 
        crossorigin="anonymous">
    </script>
    <script src=
    </script>
</head>
  
<body>
  <center>
    <h1 class="ui green header">GeeksforGeeks</h1>
    <strong>
      Semantic-UI Segment Raised Segments Group
    </strong>
    <br/>
    <br/>
  </center>
  
  <div class=" ui container">
    <div class="ui raised segments">
      <div class="ui green segment">
        <p><a href=
            Events
           </a>
        </p>
  
      </div>
  
      <div class="ui segment">
        <p><a href=
             Tutorials
           </a>
        </p>
  
      </div>
      <div class="ui segment">
        <p><a href=
             Practice
           </a>
        </p>
  
      </div>
  
      <div class="ui segment">
        <p><a href=
             Courses
           </a>
        </p>
  
      </div>
    </div>
  </div>
</body>
</html>


Output: 

Example 2: The following code demonstrates the raised segments group.

HTML




<!DOCTYPE html>
<html>
  
<head>
      <title>Semantic-UI Raised Segments Group</title>
  
      <link href=
    rel="stylesheet"/>
  
      <script src=
"sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous">
    </script>
  
      <script src=
      </script>
</head>
  
<body>
  <center>
    <h1 class="ui green header">GeeksforGeeks</h1>
        <strong>
        Semantic-UI Segment Raised Segments Group
    </strong>
    <br/>
    <br/>
  
  
    <div class=" ui container">
        <div class="ui raised segments">
            <div class="ui inverted green segment">
                <p>GeeksforGeeks Handles</p>
  
            </div>
  
            <div class="ui segment">
                <p><a href=
                    Instagram</a>
                </p>
  
            </div>
  
            <div class="ui segment">
                <p><a href=
                    Facebook</a>
                </p>
  
            </div>
  
            <div class="ui segment">
                <p><a href=
                    Linkedin</a>
                </p>
  
            </div>
  
            <div class="ui segment">
                <p><a href=
                    Twitter</a>
                </p>
  
            </div>
            <div class="ui segment">
                <p><a href=
                    Youtube</a>
                </p>
  
            </div>
  
        </div>
    </div>
  </center>
    
  <script src=
    </script>
</body>
  
</html>


Output :

Semantic-UI Raised Segments Group

Semantic-UI Raised Segments Group

Reference link: https://semantic-ui.com/elements/segment.html#raised-segments



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads