linear gradient for text color

Faisal Ahmed - Feb 18 - - Dev Community

for making gradient from figma

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        h2 {
            background: linear-gradient(90deg, #68AFFF -3.25%, #5D36FF 18.45%, #B02AAB 100%),
            linear-gradient(90deg, #06D9F1 -3.25%, #5D36FF 99.99%, #B02AAB 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent; 
        }
    </style>
</head>
<body>
    <h2>Service Info</h2>
</body>
</html>
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .