Skip to content

Commit

Permalink
Merge pull request #12 from Lavishbansal17/shadow
Browse files Browse the repository at this point in the history
Shadow
  • Loading branch information
pulkit-30 authored Sep 2, 2021
2 parents 8a94fb0 + 866ebd8 commit 17768ff
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 0 deletions.
Binary file added Gradient Drop Shadow/image.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Gradient Drop Shadow/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gradient Drop Box</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="card">
<h2>Gradient Drop Shadow</h2>
</div>
<footer>
<div>
<p>
Credit:-<a href="https://github.com/lavishbansal17" class="atag" target="/">Lavish Bansal</a>
</p>
</div>
<div class="date">Date:- 02-09-2021</div>
</footer>
</body>
</html>
2 changes: 2 additions & 0 deletions Gradient Drop Shadow/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Gradient Drop Shadow
<img src="./image.JPG">
43 changes: 43 additions & 0 deletions Gradient Drop Shadow/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
*{
margin: 0;
padding: 0;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: black;
}
.card{
position: relative;
width: 400px;
height: 250px;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(315deg, #ffec61, #f801d7);
}
.card::before{
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(315deg, #ffec61, #f801d7);
filter: blur(25px);
transform: translateY(30px) scale(0.9);
}
h2{
position: relative;
color: #fff;
font-weight: 500;
}
footer{
position: relative;
color: yellow;
top: 19rem;
right: 51rem;
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
| Ring of Fire | https://ringoffiree.netlify.app/ |
| Moon Light | https://iamtushar11.github.io/MoonLight-Parallex-Effect/ |
| Modal Animation | https://pulkit203.github.io/Modal-Animation/ |
| Gradient Drop Shadow | https://gradientdropshadow.netlify.app/ |

---

Expand Down

0 comments on commit 17768ff

Please sign in to comment.