Minitrap is a project for you who don't need the entire Bootstrap for your project, but need something bigger than Skeleton (we are Skeleton compatible)
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Ministrap CSS -->
<link rel="stylesheet" href="https://alissonsteffens.github.io/ministrap/normalize.css">
<link rel="stylesheet" href="https://alissonsteffens.github.io/ministrap/ministrap.css">
<title>Hello, world!</title>
</head>
<body>
<h1>Hello, world!</h1>
</body>
</html>
Yeah, you know many 12 columns layouts, and we have a god one of these. Stop crying about non responsive shit, use our grid system.
Typography matters, so we have some cool thigs for you.
Wanna Buttons? Ministrap has 2 os then. The standard <button>
element is plain, whereas the .button-primary
button is vibrant and prominent. Button styles are applied to a number of appropriate form elements,
but can also be arbitrarily attached to anchors with a .button
class.
Forms are a huge pain, but hopefully these styles make it a bit easier. All inputs, select, and buttons are normalized for a common height cross-browser so inputs can be stacked or placed alongside each other.
Code styling is kept basic – just wrap anything in a <code>
and it will appear like this
. For blocks of code, wrap a <code>
with a <pre>
.
.some-class {
background-color: red;
}
Be sure to use properly formed table markup with <thead>
and <tbody>
when building a table
.
Name | Age | Sex | Location |
---|---|---|---|
Dave Gamache | 26 | Male | San Francisco |
Dwayne Johnson | 42 | Male | Hayward |
Ministrap has a number of small utility classes that act as easy-to-use helpers. Sometimes it's better to use a utility class than create a whole new class just to float an element.