22 lines
		
	
	
		
			737 B
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			737 B
		
	
	
	
		
			HTML
		
	
	
	
<!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="./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> |