title: How do I change the direction of a gradient in tailwind css?
body: <pre><code> &lt;div class=&quot;bg-gradient-to-r from-cyan-500 to-blue-500 &quot;&gt;
  </code></pre>
  <p>.
  .
  .
  .</p>
  
  <p>I have tried the above code. But it's a linear gradient, I want a vertical gradient.</p>