<!DOCTYPE html>
<html>
<head>
<style>
#grad1 {
height: 200px;
background-color: red; /* For browsers that do not support gradients */
background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet); /* Standard syntax (must be last) */
}
</style>
</head>
<body>
<div id="grad1" style="text-align:center;margin:auto;color:White;font-size:30px;font-weight:bold">
<br>
</br> I AM SO COOL ♥️
</div>
</body>
</html>
Answers
Answered by
0
you should do it like this!
Attachments:
Similar questions