Skip to content

Instantly share code, notes, and snippets.

@albertodelax
Last active August 29, 2015 14:26
Show Gist options
  • Save albertodelax/334fcccdb67b9ab479b2 to your computer and use it in GitHub Desktop.
Save albertodelax/334fcccdb67b9ab479b2 to your computer and use it in GitHub Desktop.
Gradient Text
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
html {
height: 100%;
}
body {
background: -webkit-linear-gradient(#eee, #333);
height: 100%;
margin: 0;
background-repeat: no-repeat;
background-attachment: fixed;
font-family: "Helvetica Neue", Helvetica, sans-serif;
}
div {
background: -webkit-linear-gradient(#c0c0c0, #1a1a1a);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
max-width: 500px;
margin: 0 auto;
padding: 10px;
}
::-moz-selection {
background-color: black;
-webkit-text-fill-color: #fff;
}
::selection {
background: black;
-webkit-text-fill-color: #fff;
}
</style>
</head>
<body>
<div>
<h2>Fantastic Four: Rise of the Silver Surfer is a 2007 superhero film, based on the Fantastic Four comic book. A sequel to the 2005 film Fantastic Four, the film is directed by Tim Story. Ioan Gruffudd as Reed Richards, Jessica Alba as Sue Storm, Chris Evans as Johnny Storm, and Michael Chiklis as Ben Grimm are the film series' recurring protagonists, while Julian McMahon and Kerry Washington reprise their roles from the first film as Victor Von Doom and Alicia Masters, respectively. Beau Garrett appears as Frankie Raye, along with Doug Jones as the Silver Surfer, with Laurence Fishburne voicing the Surfer. The plot follows the Fantastic Four as they confront the Silver Surfer and attempt to save Earth from Galactus.</h2>
<h2>The film grossed $289 million and received mixed reviews from critics. It was released on Blu-ray and DVD on October 2, 2007.</h2>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment