A Pen by Chris Jamson

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

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Chris Jamson</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  
<div class="slideshow">
  <div class="grad"></div>
</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/ceejay76/a-pen-by-chris-jamson-EbNmKV */
.slideshow {
  width: 100%;
  min-height: 500px;
  background: #f00;
  position: relative;
}
.slideshow .grad {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  heught: 100%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.5), rgba(0,0,0,0));
  background-position: 50% 50%;
}

Comments