Skip to content

Instantly share code, notes, and snippets.

@buk
Created June 6, 2012 10:03
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 buk/2881081 to your computer and use it in GitHub Desktop.
Save buk/2881081 to your computer and use it in GitHub Desktop.
The HTML file
<div data-role="page">
<div data-role="header">
<a href="import.html" data-rel="back" data-direction="reverse" data-icon="arrow-l">Lorem ipsum</a>
<h1>Title</h1>
</div><!-- /header -->
<div data-role="content">
<p>Lorem ipsum</p>
<p>
<!-- <img class="boximage" src="images/screen_playlist_add.png" /> -->
</p>
<style type="text/css">
@media all and (max-width: 800px) {
.boximage {
background: url(../images/gruenerHaken.jpg);
}
}
@media all and (min-width: 800px) {
.boximage {
background: ulr(../images/screen_playlist_add.png);
}
}
</style>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment