Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random online image #50

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
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;
}