The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more
|
<!DOCTYPE html>
<html>
<head>
<title>Examples</title>
</head>
<body>
<div class="container">
<p>A basic badge:</p>
<pre><%= badge '3' %></pre>
<pre><span class="badge">3</span></a></pre>
<div> <span class="badge">3</span></a></div>
<hr />
<p>A right aligned badge with a data attribute:</p>
<pre><%= badge '4', data => { custom => 'yes' }, right %></pre>
<pre><span class="badge pull-right" data-custom="yes">4</span></pre>
<div> <span class="badge pull-right" data-custom="yes">4</span></div>
<hr />
</div>
<pre style="background-color: #fff; border-width: 0px;">
</pre>
</body>
</html>
|