Semantic-UI Card Centered Variation Last Updated : 11 Feb, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report 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 display content in the form of cards in a very easy way instead of using CSS. Semantic UI provides us a way to display cards in different variations and with different content involved like links, buttons, approval, etc. In this article, let us learn about Semantic UI Card Centered Variation and learn the implementation of it with the help of example code. Semantic UI Card Centered Variation: The Card Centered Variation in Semantic UI helps us to align the entire card to the center of the container. The card will automatically center itself in the container in card-centered variation. Semantic UI Card Centered Variation Content Classes: .centered: The entire card should be enclosed in .centered class to center the card..image: Enclose the image with this class..content: The content should be included within this class. Syntax : <div class="ui centered card"> <div class="image"> ... </div> <div class="content"> ... </div> </div> Example: HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href= "https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"> </head> <body> <center> <h1 class="header ui green">GeeksforGeeks</h1> <strong>Semantic UI Card Centered Variation</strong> </center> <div class="ui centered card"> <div class="image"> <img src= "https://media.geeksforgeeks.org/wp-content/uploads/20220129212154/1ZRVNQB400x400-300x300.jpg"> </div> <div class="content"> <a class="header">GeeksforGeeks</a> </div> </div> </body> </html> Output : Reference Link: https://semantic-ui.com/views/card.html#centered-card Comment More infoAdvertise with us Next Article Semantic-UI Card Raised Variation G geethika1129 Follow Improve Article Tags : Web Technologies CSS Semantic-UI Semantic-UI Views Similar Reads Semantic-UI Card Colored 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. The semantic UI Card element displays site content in a manner similar to a playing c 3 min read Semantic-UI Card Raised 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. We can display the web content in the form of cards just like how content is displaye 3 min read Semantic-UI Card Floated Content 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 and responsive. The semantic UI Card element displays site content in a manner similar 3 min read Semantic-UI Card Link 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. The cards in Semantic UI are in general used to display web content just like the pla 3 min read Semantic-UI Card Variations 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 offers several card variations like fluid card, centered card, raised car 8 min read Semantic-UI Advertisement Centered 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. In this article, we are going to learn about Advertisement Centered Variation. It is 2 min read Like