Skip to content

Instantly share code, notes, and snippets.

@manijshrestha
Created October 19, 2012 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manijshrestha/3920434 to your computer and use it in GitHub Desktop.
Save manijshrestha/3920434 to your computer and use it in GitHub Desktop.
Building app with responsive design using jQuery mobile and CSS3 (Media Query)
<!DOCTYPE html>
<html>
<head>
<title>Cool App</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Cool App</h1>
</div><!-- /header -->
<div data-role="content">
<p>Some Cool Stuff</p>
</div><!-- /content -->
</div><!-- /page -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment