Be sure to have a code editor (we recommend Adobe Dreamweaver or Sublime Text 2) and some working knowledge of HTML and CSS. We won't walk through the source files here, but they are available for download. We'll focus on getting started with the compiled MergedFrame files.
You'll find the following file structure and contents, logically grouping common assets and providing both compiled and minified variations. All four frameworks were compiled as the basis of this project, built around the Twitter engine as the core component.
MergedFrame/ ├── css/ │ ├── bootstrap.css │ ├── gumby.css │ ├── skeleton.css │ ├── wirefy.css ├── js/ │ ├── bootstrap.js │ ├── gumby.js │ ├── skeleton.js │ ├── wirefy.js │ ├── bootstrap.min.js └── img/ ├── glyphicons-halflings.png └── glyphicons-halflings-white.png
This is the most basic form of MergedFrame: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (
bootstrap.,gumby.,skeleton,wirefy or other *), as well as compiled and minified CSS and JS (
bootstrap.min.*). The image files are compressed using ImageOptim and fileResizer.
Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.
Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes Glyphicons, a great little icon set.
Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.
In future guides, we may walk through these components individually in more detail. Until then, look for each of these in the documentation for information on how to utilize and customize them.
With a brief intro into the contents out of the way, we can focus on putting the framework to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the File structure.
Now, here's a look at a typical HTML file:
<!DOCTYPE html> <html> <head> <title>MergedFrame 101 Template</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <h1>Hello, world!</h1> <script src="http://code.jquery.com/jquery.js"></script> </body> </html>
To make this a MergedFrameped template, just include the appropriate CSS and JS files:
<!DOCTYPE html> <html> <head> <title>MergedFrame 101 Template</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- MergedFrame --> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> </head> <body> <h1>Hello, world!</h1> <script src="http://code.jquery.com/jquery.js"></script> <script src="js/bootstrap.min.js"></script> </body> </html>
And you're set! With those two files added, you can begin to develop any site or application with MergedFrame.
Move beyond the base template with a few example layouts. We encourage folks to iterate on these examples and not simply use them as an end result.
Featuring a hero unit for a primary message and three supporting elements.
Uses our new responsive, fluid grid system to create a seamless liquid layout.
Slim, lightweight marketing template for small projects or teams.
Marketing page with equal-width navigation links in a modified navbar.
Barebones sign in form with custom, larger form controls and a flexible layout.
Pin a fixed-height footer to the bottom of the user's viewport.
A more interactive riff on the basic marketing site featuring a prominent carousel.
Head to the docs for information, examples, and code snippets, or take the next leap and customize MergedFrame for any upcoming project.Visit the MergedFrame docs