Mine Basics

Mine is based on Min, Normalize.css and Colors. This doc/demo comes from Min with a few changes.

Min's minimalism has several advantages. Firstly, it doesn't prescribe a specific design for you. Each element has just a handful of CSS rules applied to it, and as a result overriding default styles is extremely easy. Min being only 995 bytes (NB "Mine" is more than that) means that there's less of it to get in your way when you want to customize your site. Contrast this with Bootstrap, where you may have to override many different rules to get what you want.

Secondly, there's less markup to type. Min requires fewer superfluous divs and classes than any other framework, allowing every part of your code to be readable and semantically correct.

Min is also extremely flexible: you can apply the btn class to any element - a link, a <button>, a div - anything. The same goes for any of the column sizes, any of the button coloration styles, and many more classes in plugins. You can apply the smooth class to anything to give it a 200ms transition.

Buttons

btn bg-blue btn bg-green btn bg-red classless btn btn-o

<a class="btn bg-blue smooth">btn bg-blue</a>
<a class="btn btn-o">btn btn-o</a>

btn bg-blue btn bg-green btn bg-red classless btn btn-o

<a class="btn btn-lg bg-blue smooth">btn-lg</a>
Download Buy Now Sign In Remove Submit

Download Buy Now Sign In Remove Submit

Other colors

bg-navy bg-blue bg-aqua bg-teal bg-olive bg-green bg-lime
bg-yellow black bg-orange bg-red bg-fuchsia bg-purple bg-maroon
bg-white black bg-gray bg-silver black bg-black

Forms





$

<input type="text" class="smooth">
				
<textarea rows="3" class="smooth">
<span class="addon">$</span><input type="text" class="smooth">
Be careful with addons! If you do not want a space between the addon and the input make sure that there is no space between the </span> and <input> tags. Example:
... </span> <input ...
$
... </span><input ...
$


<div class="form-group">
  <label>Email <input type="email"></label>
</div>

Tables

#Widgets SoldRevenue (£)Profit (£)
15102
210204
35001000200


<table class="table">
	<thead>
		<tr>
			<th>#</th>
			<th>Widgets Sold</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>1</td>
			<td>5</td>
		</tr>
		<tr>
			<td>2</td>
			<td>10</td>
		</tr>
		<tr>
			<td>3</td>
			<td>500</td>
		</tr>
	</tbody>
</table>
				

Icons

Android Safe ☎ ♂ ♀ ⓧ © § ® ⇦ ⇧ ⇨ ⇩♠ ♣ ♥ ♦ ♪ ♛ ♜ ♝ ♞ ♟☜ ☞ ♨ ♭ ♯ ¥£ ¢❊ ฿ ๏ ※ ₧ ₨ ₪ € №

The "Android Safe" icons work everywhere, tested on hundreds of devices.
Total Set ✉ ✰ ☁ ✈ ☑ ☒ ✆ ☀ ☮ ☢ ☠ ☣ ⌂ ℗ ☺ ☻ ☼ ∡ ∿ ⊝ ⊘ ⁂ ☤ ♫ ☄ ✎ ☟ ☝ ☹ ☭ ☚ ☛ ✌ 〠 ☃ ♮ ☂ ☸ ✍ ☯ ✂ ₩ ◍ ۩

Although over 75% of Android devices we tested support all "Total Set" icons, if a substantial portion of your users use old Android devices you should stick to the "Android Safe" set. (The "Total Set" does not include icons from the "Android Safe" set.)
<i class="ico">Copy and paste icons from above here!</i>

Grids

12
11
1
10
2
9
3
8
4
7
5
6
6
5
7
4
8
3
9
2
10
1
11
12

<div class="row">
<div class="col c12">12</div>
</div>
<div class="row">
<div class="col c4">4</div>
<div class="col c8">8</div>
</div>

Mobile Grids

Mobile classes .m1-m12 override column widths when screen width is lower than 870px.

c3 m6
c3 m6
c3 m6
c3 m6
c11 m8
c1 m4

<div class="row">
  <div class="col c3 m6">c3 m6</div>
  <div class="col c3 m6">c3 m6</div>
  <div class="col c3 m6">c3 m6</div>
  <div class="col c3 m6">c3 m6</div>
</div>
<div class="row">
  <div class="col c11 m8">c11 m8</div>
  <div class="col  c1 m4">c1 m4</div>
</div>
				

Headings

h1

h2

h3

h4

h5
h6

<h1>Level One Heading</h1>

h1

h2

h3

h4

h5
h6

<h1 class="thin">Level One Heading</h1>

Messages

Watch out! You almost scrolled off the page. There are reports of sea monsters past the end of the page and we do not advise you go there.
<div class="msg">
	<strong>Alert headline!</strong>
	Message text
</div>