-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from Lavishbansal17/shadow
Shadow
- Loading branch information
Showing
5 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Gradient Drop Shadow | ||
<img src="./image.JPG"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters