Skip to content

Instantly share code, notes, and snippets.

@tux255
Created April 1, 2020 06:01
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 tux255/6eff0bbc8dd885d6c29d4f44e83bb2b4 to your computer and use it in GitHub Desktop.
Save tux255/6eff0bbc8dd885d6c29d4f44e83bb2b4 to your computer and use it in GitHub Desktop.
JS Bin text gradient css // source https://jsbin.com/qazutol
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="text gradient css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
h1 {
font-size: 72px;
background: -webkit-linear-gradient(#eee, #333);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
</head>
<body>
<h1>test</h1>
<script id="jsbin-source-css" type="text/css">h1 {
font-size: 72px;
background: -webkit-linear-gradient(#eee, #333);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}</script>
</body>
</html>
h1 {
font-size: 72px;
background: -webkit-linear-gradient(#eee, #333);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment