Open In App

Semantic-UI Feed Content Additional Information

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 Feed is used to display updates chronological wise. A user’s feed or updates to his social media or blog is presented in a standard sequenced way. Contents, dates, like buttons and links, can be placed including images in the Feed.



Semantic-UI Feed Additional Information Content is used to display any extra text or images with the events in the Feed. Additional information is less highlighted and hence should be placed below and is not bold or emphasized.

Semantic-UI Feed Content Additional Information Classes: 



Syntax: Inside the content div element, add the additional content elements like text or images as div elements with the classes shown above.

<div class="content">
    ...
    <div class="extra text"> ... </div>
    <div class="extra images"> ... </div>
</div>

Example: In the following example, we have two events with additional content.




<!DOCTYPE html>
<html lang="en">
  
<head>
    <link href=
          rel="stylesheet" />
    <script src=
    </script>
    <script src=
    </script>
  
</head>
  
<body>
    <center>
        <h1>
          GeeksforGeeks
        </h1> <strong>
          Semantic-UI Feed Content Additional Information
        </strong
    </center>
    <br>
    <strong>Extra Text Content:</strong>
    <div class="ui feed">
        <div class="event">
            <div class="content">
                <div class="date">
                    3 days ago
                </div>
                <div class="summary">
                    Your post was liked.
                </div>
                <div class="extra text">
                    Your post is reaching new heights
                </div>
            </div>
        </div>
        <br>
        <br>
        <strong>Extra Images Content:</strong>
        <div class="content">
          <div class="date">
            3 days ago
          </div>
          <div class="summary">
             <a href="#">Geeksforgeeks</a> added 1 photo
          </div>
          <div class="extra images">
            <a><img src=
            </a>
  
          </div>
        </div>
    </div>
</body>
</html>

Output:

Semantic-UI Feed Content Additional Information

Reference: https://legacy.semantic-ui.com/views/feed.html


Article Tags :