Created
December 27, 2013 05:32
-
-
Save svanderbleek/8142945 to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cardspring-page { | |
max-width: 960px; | |
margin: 60px auto; | |
border: solid 1px #CCC; | |
border-radius: 4px; | |
background-image: linear-gradient(#CCC, #BBB); | |
padding: 20px; | |
} | |
@media all and (max-width: 1060px) { | |
body { | |
padding: 0; | |
margin: 0; | |
} | |
.cardspring-page { | |
margin: 0; | |
padding: 20px 0; | |
border: none; | |
border-radius: 0; | |
max-width: 1060px; | |
} | |
.cardspring-page .merchant-promotion-form { | |
width: 100%; | |
position: static; | |
} | |
.cardspring-page .merchant-promotion-info { | |
width: 80%; | |
} | |
} | |
@media all and (max-width: 960px) { | |
} | |
body { | |
font-family: helvetica; | |
} | |
.merchant-promotion-brand { | |
padding: 20px; | |
margin-bottom: 20px | |
} | |
.merchant-promotion-brand img { | |
} | |
.merchant-promotion-brand-info { | |
display: inline-block; | |
vertical-align: top; | |
} | |
.merchant-promotion-brand-info h2 { | |
display: block; | |
margin-top: 0; | |
} | |
.merchant-promotion-brand a { | |
} | |
.merchant-promotion-form { | |
background: white; | |
width: 106%; | |
position: relative; | |
left: -3%; | |
box-shadow: 0px 0px 1px 0px; | |
} | |
.merchant-promotion-media { | |
padding: 60px; | |
} | |
.merchant-promotion-info { | |
margin-top: 20px; | |
padding: 20px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> | |
<div id="merchant-promotion-page" class="cardspring-page"> | |
<div class="merchant-promotion-brand"> | |
<img src="http://placekitten.com/100/100"> | |
<div class="merchant-promotion-brand-info"> | |
<h2>Merchant Name</h2> | |
<a href="">http://merchantname.com</a> | |
</div> | |
</div> | |
<div class="merchant-promotion-form"> | |
<div class="merchant-promotion-media"> | |
<img src="http://placekitten.com/200/200"> | |
<p>Merchant Offer Description. Save <em>20%</em></p> | |
<input type="text"> | |
</div> | |
</div> | |
<div class="merchant-promotion-info"> | |
<img src="http://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=13&size=600x300&maptype=roadmap&markers=color:blue%7Clabel:S%7C40.702147,-74.015794&markers=color:green%7Clabel:G%7C40.711614,-74.012318&markers=color:red%7Ccolor:red%7Clabel:C%7C40.718217,-73.998284&sensor=false"> | |
</div> | |
</div> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment