Created
December 31, 2015 06:02
-
-
Save anonymous/3e63d4a372d4616e7f22 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/ferina
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
/* inspired by colors from http://scripteden.com/preview/?preview=274 */ | |
h1, h2, p { | |
padding: 0; | |
margin: 0; | |
text-align: center; | |
} | |
section { | |
height: 200px; | |
color: white; | |
} | |
section, footer { | |
padding-top: 10px; | |
font-family: Verdana; | |
} | |
.purple { | |
background: linear-gradient(45deg, rgba(14,21,58,1) 0%,rgba(115,107,147,1) 48%,rgba(243,201,215,1) 100%) | |
} | |
.teal { | |
background: linear-gradient(135deg, rgba(24,42,115,1) 0%,rgba(33,138,174,1) 69%,rgba(32,167,172,1) 89%) | |
} | |
.white { | |
background: white; | |
color: rgba(0, 0, 0, 0.8); | |
} | |
footer { | |
height: 100px; | |
background: #1B1C1D; | |
} | |
footer h2 { | |
color: white; | |
font-size: 20px; | |
} | |
footer p { | |
color: rgba(255, 255, 255, 0.5); | |
} | |
</style> | |
</head> | |
<body> | |
<section class="teal"> | |
<h1>Hello There</h1> | |
<p>This is a teal section</p> | |
</section> | |
<section class="white"> | |
<h1>Hello There</h1> | |
<p>This is a purple section</p> | |
</section> | |
<section class="purple"> | |
<h1>Hello There</h1> | |
<p>This is a purple section</p> | |
</section> | |
<section class="white"> | |
<h1>Hello There</h1> | |
<p>This is a purple section</p> | |
</section> | |
<footer> | |
<h2>This is a header in the footer</h2> | |
<p>THis is some stuff under it</p> | |
</footer> | |
<script id="jsbin-source-css" type="text/css">/* inspired by colors from http://scripteden.com/preview/?preview=274 */ | |
h1, h2, p { | |
padding: 0; | |
margin: 0; | |
text-align: center; | |
} | |
section { | |
height: 200px; | |
color: white; | |
} | |
section, footer { | |
padding-top: 10px; | |
font-family: Verdana; | |
} | |
.purple { | |
background: linear-gradient(45deg, rgba(14,21,58,1) 0%,rgba(115,107,147,1) 48%,rgba(243,201,215,1) 100%) | |
} | |
.teal { | |
background: linear-gradient(135deg, rgba(24,42,115,1) 0%,rgba(33,138,174,1) 69%,rgba(32,167,172,1) 89%) | |
} | |
.white { | |
background: white; | |
color: rgba(0, 0, 0, 0.8); | |
} | |
footer { | |
height: 100px; | |
background: #1B1C1D; | |
} | |
footer h2 { | |
color: white; | |
font-size: 20px; | |
} | |
footer p { | |
color: rgba(255, 255, 255, 0.5); | |
}</script> | |
</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
/* inspired by colors from http://scripteden.com/preview/?preview=274 */ | |
h1, h2, p { | |
padding: 0; | |
margin: 0; | |
text-align: center; | |
} | |
section { | |
height: 200px; | |
color: white; | |
} | |
section, footer { | |
padding-top: 10px; | |
font-family: Verdana; | |
} | |
.purple { | |
background: linear-gradient(45deg, rgba(14,21,58,1) 0%,rgba(115,107,147,1) 48%,rgba(243,201,215,1) 100%) | |
} | |
.teal { | |
background: linear-gradient(135deg, rgba(24,42,115,1) 0%,rgba(33,138,174,1) 69%,rgba(32,167,172,1) 89%) | |
} | |
.white { | |
background: white; | |
color: rgba(0, 0, 0, 0.8); | |
} | |
footer { | |
height: 100px; | |
background: #1B1C1D; | |
} | |
footer h2 { | |
color: white; | |
font-size: 20px; | |
} | |
footer p { | |
color: rgba(255, 255, 255, 0.5); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment