Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Button example</title> | ||
<style> | ||
.button { | ||
display: inline-block; | ||
border: 1px solid #1f84ef; | ||
padding: 0px 50px; | ||
line-height: 50px; | ||
-webkit-border-radius: 5px; | ||
-moz-border-radius: 5px; | ||
border-radius: 5px; | ||
background: #6db3f2; /* Old browsers */ | ||
background: -moz-linear-gradient(top, #6db3f2 0%, #54a3ee 50%, #3690f0 51%, #1e69de 100%); /* FF3.6+ */ | ||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6db3f2), color-stop(50%,#54a3ee), color-stop(51%,#3690f0), color-stop(100%,#1e69de)); /* Chrome,Safari4+ */ | ||
background: -webkit-linear-gradient(top, #6db3f2 0%,#54a3ee 50%,#3690f0 51%,#1e69de 100%); /* Chrome10+,Safari5.1+ */ | ||
background: -o-linear-gradient(top, #6db3f2 0%,#54a3ee 50%,#3690f0 51%,#1e69de 100%); /* Opera 11.10+ */ | ||
background: -ms-linear-gradient(top, #6db3f2 0%,#54a3ee 50%,#3690f0 51%,#1e69de 100%); /* IE10+ */ | ||
background: linear-gradient(to bottom, #6db3f2 0%,#54a3ee 50%,#3690f0 51%,#1e69de 100%); /* W3C */ | ||
text-transform: uppercase; | ||
font-family: Impact, "Arial Black", sans serif; | ||
color: #fffffe !important; | ||
font-size: 20px; | ||
font-size: 1.42857rem; | ||
text-decoration: none; | ||
-webkit-font-smoothing: antialiased; | ||
text-shadow: 1px 0px 2px #1f84ef; | ||
filter: dropshadow(color=#1f84ef, offx=1, offy=0); | ||
} | ||
|
||
.button:hover, .button:active, .button:focus { | ||
text-decoration: none; | ||
background: #54a7f0; /* Old browsers */ | ||
background: -moz-linear-gradient(top, #54a7f0 0%, #3c97ec 50%, #1f84ef 51%, #1c5fcc 100%); /* FF3.6+ */ | ||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#54a7f0), color-stop(50%,#3c97ec), color-stop(51%,#1f84ef), color-stop(100%,#1c5fcc)); /* Chrome,Safari4+ */ | ||
background: -webkit-linear-gradient(top, #54a7f0 0%,#3c97ec 50%,#1f84ef 51%,#1c5fcc 100%); /* Chrome10+,Safari5.1+ */ | ||
background: -o-linear-gradient(top, #54a7f0 0%,#3c97ec 50%,#1f84ef 51%,#1c5fcc 100%); /* Opera 11.10+ */ | ||
background: -ms-linear-gradient(top, #54a7f0 0%,#3c97ec 50%,#1f84ef 51%,#1c5fcc 100%); /* IE10+ */ | ||
background: linear-gradient(to bottom, #54a7f0 0%,#3c97ec 50%,#1f84ef 51%,#1c5fcc 100%); /* W3C */ | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<a href="#" class="button">Call to action</a> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Date example</title> | ||
</head> | ||
<body> | ||
<input type="date" id="field" name="field" /> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Validation example</title> | ||
</head> | ||
<body> | ||
<form> | ||
<input type="email" placeholder="e.g example@example.com" required id="email" name="email" /> | ||
<button type="submit">Submit</button> | ||
</form> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Gradient panel example</title> | ||
<style> | ||
|
||
.panel{ | ||
width: 220px; | ||
height: 180px; | ||
padding: 20px; | ||
background: #77b7ef; /* Old browsers */ | ||
background: -moz-radial-gradient(center, ellipse cover, #77b7ef 0%, #000000 100%); /* FF3.6+ */ | ||
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#77b7ef), color-stop(100%,#000000)); /* Chrome,Safari4+ */ | ||
background: -webkit-radial-gradient(center, ellipse cover, #77b7ef 0%,#000000 100%); /* Chrome10+,Safari5.1+ */ | ||
background: -o-radial-gradient(center, ellipse cover, #77b7ef 0%,#000000 100%); /* Opera 12+ */ | ||
background: -ms-radial-gradient(center, ellipse cover, #77b7ef 0%,#000000 100%); /* IE10+ */ | ||
background: radial-gradient(ellipse at center, #77b7ef 0%,#000000 100%); /* W3C */ | ||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#77b7ef', endColorstr='#000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ | ||
background-size: 160% 160%; | ||
background-position: center -160px; | ||
} | ||
|
||
.panel h1{ | ||
margin-top: 0px; | ||
} | ||
|
||
.panel h1, .panel p, .panel a{ | ||
color: #fff; | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<div class="panel"> | ||
<h1>Intro</h1> | ||
<p>Cras mattis consectetur purus sit amet fermentum.</p> | ||
<p><a href="#">read more</a></p> | ||
</div> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Placeholder example</title> | ||
</head> | ||
<body> | ||
<input type="input" placeholder="Sample placeholder" id="field" name="field" /> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.