rmcg.dev/playground.html

23 lines
792 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Playground</title>
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/playground.css">
</head>
<body>
<h1>Tricks</h1>
<h2>Gradient text with CSS</h2>
This one comes from Kevin Powell, on a YouTube video short <a href="https://www.youtube.com/watch?v=IQT4aI_Iup4">"Gradient text with CSS | CSS Tip of the Day"</a>. It applies a colored gradient to text.
Note that the -webkit- is needed to make this trick work in Safari.
<h1 class="gradient-text">Thingy Text thats with a gradient</h1>
<h2>???</h2>
</body>
</html>