Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions HTML+CSS+JS/Image-Gallery/Random Online Image/Random_img.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Randome BG</title>
<link rel="stylesheet" href="style.css">

</head>
<body>
<section class="Img" id="home">
<div class="bg-overlay"></div>
</section>

</body>
</html>
8 changes: 8 additions & 0 deletions HTML+CSS+JS/Image-Gallery/Random Online Image/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Gradient BG
An Animated Background created using pure CSS and HTML.

## Demo
...

## Setup
Just download and open Random_img.html!
10 changes: 10 additions & 0 deletions HTML+CSS+JS/Image-Gallery/Random Online Image/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.Img{
background-image: url('https://source.unsplash.com/1600x900/?landscape%27');/* Can change landscape and the pixels u wanna select */
background-size: cover;
background-position: top;
background-repeat: no-repeat;
vertical-align: middle;
min-height: 100vh;
position: relative;
}