A Pen by Luciano Tonet

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

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

  
</head>

<body>

  <div class="bg"></div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/tonetlds/a-pen-by-luciano-tonet-KoPmOM */
html, body {
	margin: 0;
	padding: 0;
}
.bg {
	background-image: url('https://loremflickr.com/1600/1000');
	width: 100%;
	height: 100vh;
	dispplay: block;
}

.bg::after {
	content: ' ';
	display: block;
	background: #fc7311; /* Old browsers */
	background: -moz-linear-gradient(45deg, #fc7311 0%, #ffc578 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(45deg, #fc7311 0%,#ffc578 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(45deg, #fc7311 0%,#ffc578 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fc7311', endColorstr='#ffc578',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	opacity: 0.8;
	width: 100%;
	height: 100%;
}

Comments