title: Transparent gradient shadow in css all browsers
body: <p>I want to css code with gradient top transparent color. can you please check below is it correct.?</p>
  
  <pre><code>background-color: transparent;
  background-image: linear-gradient(to top, #f2f2f2, rgba(242, 242, 242, 0));
  bottom: 0;
  content: " ";
  display: block;
  height: 150px;
  position: absolute;
  width: 100%;
  z-index: 8;
  </code></pre>