Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (63 sloc) 2.86 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<link href="https://fonts.googleapis.com/css?family=Dosis|Raleway:400,700|Roboto:300,400,900," rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/codemirror.min.css">
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="mobileui.css">
<link rel="stylesheet" href="colors.css">
<link rel="stylesheet" href="icons.css">
<link rel="stylesheet" href="../assets/css/master.css">
<style>
.content { margin-left:50px}
</style>
</head>
<body class="content">
<!-- BEGIN -->
<h2 class="title-doc" id="_DOC_GENERATE_SPACE_">Badge</h2>
<p>Badges are used to provide additional information about something. In MobileUI you can create a card using base classes.</p>
<p>
If you have installed any component, the base classes are already installed. Otherwise run the command:
</p>
<pre>mobileui install base</pre>
<textarea class="bind-code" mode="text/html">
<span class="text-small green radius padding">new</span>
<span class="text-small purple radius padding">family</span>
<span class="text-small pink radius padding">university</span>
<div class="space"></div>
<span class="green radius padding">new</span>
<span class="purple radius padding">family</span>
<span class="pink radius padding">university</span>
<div class="space"></div>
<span class="text-big green radius padding">new</span>
<span class="text-big purple radius padding">family</span>
<span class="text-big pink radius padding">university</span></textarea>
<p>You can combinate this component with others, example a <a href="#list">list</a>.</p>
<textarea class="bind-code" mode="text/html">
<div class="list">
<div class="item">
<img class="avatar circle left" src="/img/96.jpg">
<h2>Juster Mark Slow</h2>
<span class="text-small green radius padding">new</span>
<span class="text-small purple radius padding">family</span>
<span class="text-small pink radius padding">university</span>
</div>
<div class="item">
<img class="avatar circle left" src="/img/33.jpg">
<h2>Carter Hudson</h2>
<span class="text-small purple radius padding">family</span>
<span class="text-small pink radius padding">university</span>
<span class="text-small blue radius padding">party</span>
</div>
</div>
</textarea>
<!-- DONE -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/codemirror.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/mode/xml/xml.min.js"></script>
<script type="text/javascript" src="../assets/js/main.js"></script>
</body>
</html>