Tags

Tags are an interactive, community-generated keyword that allow communities to label, organize, and discover related content. Tags are maintained by their respective communities

Class Applied to Description
.s-tag N/A Base tag style that is used almost universally.
.s-tag__moderator .s-tag Exclusively used within Meta communities by moderators (and employees) to assign unique statuses to questions.
.s-tag__required .s-tag Exclusively used within Meta communities to denote the post type. One of these tags are required on all Meta posts.
.s-tag__muted .s-tag Applies a visually muted style from the base style.
.s-tag--dismiss N/A A child element within .s-tag that correctly positions a clear or dismiss action icon.
.s-tag--sponsor N/A A child element within .s-tag that correctly positions a tag’s sponsor logo.
<div class="grid gs4">
<a class="grid--cell s-tag" href="#">jquery</a>
<a class="grid--cell s-tag" href="#">javascript <span class="s-tag--dismiss">@Svg.ClearSm</span></a>
<a class="grid--cell s-tag" href="#"><img class="s-tag--sponsor" src="https://i.stack.imgur.com/tKsDb.png" width="16" height="18" alt="Google Android"> android</a>
</div>
<div class="grid gs4">
<a class="grid--cell s-tag s-tag__moderator" href="#">status-completed</a>
<a class="grid--cell s-tag s-tag__moderator" href="#">status-bydesign <span class="s-tag--dismiss">@Svg.ClearSm</span></a>
<a class="grid--cell s-tag s-tag__moderator" href="#">status-planned</a>
</div>
<div class="grid gs4">
<a class="grid--cell s-tag s-tag__required" href="#">discussion</a>
<a class="grid--cell s-tag s-tag__required" href="#">feature-request <span class="s-tag--dismiss">@Svg.ClearSm</span></a>
<a class="grid--cell s-tag s-tag__required" href="#">bug</a>
</div>
<div class="grid gs4">
<a class="grid--cell s-tag s-tag__muted" href="#">asp-net</a>
<a class="grid--cell s-tag s-tag__muted" href="#">netscape <span class="s-tag--dismiss">@Svg.ClearSm</span></a>
<a class="grid--cell s-tag s-tag__muted" href="#"><img class="s-tag--sponsor" src="https://i.stack.imgur.com/gfrSH.png" width="18" height="16" alt="SQL Server"> sql-server</a>
</div>
Class Applied to Example
.s-tag__xs .s-tag css
.s-tag__sm .s-tag css
.s-tag N/A css
.s-tag__md .s-tag css
.s-tag__lg .s-tag css