Semantic-UI Segment Inverted Variation Last Updated : 15 Mar, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report Semantic UI is an open-source framework that offers a variety of components to make your UI more meaningful. One of them is "Segment". Semantic UI has a segment component to display different sections of relatable content. Users can also display the segments on a dark background. Let us see this variation of a segment. Semantic UI Segment Inverted Variation: If you want to display a segment on black background, you can make use of an inverted segment. A single or group of segments showing relatable content can be displayed in dark background. We will create a UI to show the segment inverted variation. Semantic-UI Segment Inverted Variation Class: inverted: This class is used to make the segment inverted (color-wise). Syntax : <div class="ui inverted segment"> ... </div> These examples demonstrate a segment or group of segments in inverted variation by using the inverted class. Example 1: HTML <!DOCTYPE html> <html> <head> <link rel="stylesheet" href= "https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" /> </head> <body> <div class="ui container"> <br /><br /> <h2 class="ui header green">GeeksforGeeks</h2> <strong>Semantic UI Segment Inverted Variation</strong> </br> <hr><br /> <div class="ui inverted segment"> <center> <h3>Welcome to geeksforgeeks.</h3> <p>Learn anything you want</p> <p> Get tutorial of anything related to computer science. </p> <p>Courses on programming</p> <p>Solve programming problems.</p> <p>Help other by writing articles.</p> </center> </div> </div> </body> </html> Output: Inverted Segment Example 2: HTML <!DOCTYPE html> <html> <head> <link rel="stylesheet" href= "https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" /> </head> <body> <div class="ui container"> <br /><br /> <h2 class="ui header green">GeeksforGeeks</h2> <strong>Semantic UI Segment Inverted Variation</strong> </br> <hr><br /> <div class="ui inverted segments"> <div class="ui inverted segment"> <p>Data Structure</p> </div> <div class="ui inverted green segment"> <p>Web Programming</p> </div> <div class="ui inverted segment"> <p>Competitive Programming</p> </div> </div> </div> </body> </html> Output: Inverted Segments Reference link: https://semantic-ui.com/elements/segment.html#inverted Comment More infoAdvertise with us Next Article Semantic-UI Menu Inverted Variation N namankedia Follow Improve Article Tags : Web Technologies CSS Geeks Premier League Geeks-Premier-League-2022 Semantic-UI Semantic-UI Elements +1 More Similar Reads Semantic-UI Menu Inverted Variation 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. Semantic-UI Menu is used to display the grouped navigation menu. A navigation menu is 2 min read Semantic-UI List Inverted Variation 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 looks more amazing. It uses a class to add CSS to the elements. Semantic-UI list provides us different v 3 min read Semantic-UI Segment Floated Variation 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. Semantic UI provides us with a very easy way to style the web app instead of using CS 2 min read Semantic-UI Segment Colored Variation 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 boots 2 min read Semantic-UI Segment Attached Variation Semantic UI is a modern framework used in developing seamless designs for the website. It gives the user a lightweight experience with its components. It uses predefined CSS and jQuery to incorporate different frameworks. Semantic UI Segment is a container used to place contents of the same type or 2 min read Semantic-UI Segment Padded Variation 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. Semantic UI provides us with a very easy way to style the web app instead of using CS 2 min read Like