In this example below you will see how to do a Test-Gradient with some HTML / CSS and Javascript

This awesome code was written by Cory2911, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright Cory2911 ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">
      <link rel="stylesheet" href="css/style.css">



  <div class="nav" style="height:300px;width:100%; border:1px solid #333">



/*Downloaded from https://www.codeseek.co/Cory2911/test-gradient-bLawvW */
.nav {
  background: linear-gradient(180deg, #88bbee, #3276ae 60%);