RESPONSIVE TYPOGRAPHY
Run
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>HTML</title>
<style>
	
	/*for screen smaller than 599px */
	@media screen and (max-width: 599px) {
	  h2 {
	  font-size: 15px;
	  }
      p {
	  font-size: 10px;
	  }
	}
	/* for screen larger the 600px */
	@media screen and (min-width: 600px) {
	  h2 {
	  font-size: 30px;
	  }
	  p {
		  font-size: 20px;
	  }
	}
</style>
</head>  
<body>
    <h2> Responsive typography </h2>
	<p> The text size will adjust with the change of the width </p>
	<p> Resize the width of screen to see effects</p>
</body>
</html>