1

Semantic-UI Placeholder Inverted Variation

 1 month ago
source link: https://www.geeksforgeeks.org/semantic-ui-placeholder-inverted-variation/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Semantic-UI Placeholder 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. 

In this article, we are going to learn about Placeholder Inverted Variation. It is equipped with pre-built semantic components that help create responsive layouts using user-friendly HTML, and it uses predefined CSS and jQuery to incorporate different frameworks. A placeholder is used to reserve space for content that soon will appear in a layout and inverted variation placeholders can have their colors inverted.

Semantic-UI Placeholder Inverted Variation Class:

  • inverted: This class is used to make the input inverted(color-wise).

Syntax:

<div class="ui inverted segment">
     <div class="ui active inverted placeholder">
         ...  
     </div>
</div>

The below example illustrates the Semantic-UI Placeholder Inverted Variation:

Example 1: The below example illustrates the Semantic UI placeholder Inverted Variation.

<!DOCTYPE html>
<html>
<head>
<link href=
rel="stylesheet" />
</head>
<body>
<center>
<h1 class="ui header green">
GeeksforGeeks
</h1>
<strong> Semantic-UI </strong>
<h3 class="ui dividing header">
Placeholder Inverted Variation
</h3>
</center>
<div class="ui inverted segment">
<div class="ui active inverted placeholder">
<div class="image header">
<div class="line"></div>
<div class="line"></div>
</div>
<div class="paragraph">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</div>
</div>
</body>
</html>

Output:

ezgifcomgifmaker4.gif

Example 2:  The below example illustrates the Semantic UI placeholder Inverted Variation.

<!DOCTYPE html>
<html>
<head>
<link href=
rel="stylesheet" />
</head>
<body>
<center>
<h1 class="ui header green">
GeeksforGeeks
</h1>
<strong> Semantic-UI </strong>
<h3 class="ui dividing header">
Placeholder Inverted Variation
</h3>
</center>
<div class="ui inverted segment">
<div class="ui active inverted placeholder">
<div class="image header">
</div>
<div class="paragraph">
<div class="line"></div>
<div class="line"></div>
</div>
</div>
</div>
<div class="ui inverted segment">
<div class="ui active inverted placeholder">
<div class="image header">
</div>
<div class="paragraph">
<div class="line"></div>
<div class="line"></div>
</div>
</div>
</div>
</body>
</html>

Output:

ezgifcomgifmaker5.gif

Reference:https://semantic-ui.com/elements/placeholder.html#inverted

“This course was packed with amazing and well-organized content! The project-based approach of this course made it even better to understand concepts faster. Also the instructor in the live classes is really good and knowledgeable.”- Tejas | Deutsche Bank

With our revamped Full Stack Development Program: master Node.js and React that enables you to create dynamic web applications.

So get ready for salary hike only with our Full Stack Development Course.

Last Updated : 22 Mar, 2022
Like Article
Save Article
Share your thoughts in the comments

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK