-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
77 additions
and
29 deletions.
There are no files selected for viewing
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,29 @@ | ||
.box-with-gradient-shadow { | ||
position: relative; | ||
/* width: 200px; */ | ||
/* height: 200px; */ | ||
} | ||
|
||
.box-with-gradient-shadow::before { | ||
content: ""; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
filter: blur(10px); | ||
border: 1px transparent; | ||
border-radius: 0px; | ||
/* standard box shadow */ | ||
background: linear-gradient(to bottom right, blue, red); | ||
/* linear gradient */ | ||
z-index: -1; | ||
/* ensure the pseudo-element is behind the content */ | ||
} | ||
|
||
/* Additional styling for content */ | ||
.box-with-gradient-shadow>* { | ||
position: relative; | ||
z-index: 1; | ||
/* ensure content is above pseudo-element */ | ||
} |
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 |
---|---|---|
@@ -1,35 +1,26 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Ali - Full Stack Localhost Developer</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f0f0f0; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
.content { | ||
text-align: center; | ||
background-color: #fff; | ||
padding: 20px; | ||
border-radius: 8px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="content"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Ali - Full Stack Localhost Developer</title> | ||
<link rel="stylesheet" href="./style.css" /> | ||
<link rel="stylesheet" href="./boxshadow.css" /> | ||
</head> | ||
<body> | ||
<div class="box-with-gradient-shadow"> | ||
<div class="content"> | ||
<h1>Hi, I'm Ali!</h1> | ||
<p>Full Stack Localhost Developer</p> | ||
<<<<<<< HEAD | ||
<a href="/blogs/blog1">blog1</a> | ||
======= | ||
<a href="/blogs">👉 My Expensive Articles</a> | ||
</div> | ||
>>>>>>> 5593415 (added dark theme) | ||
</div> | ||
</body> | ||
<footer> | ||
<p>This page is just for testing purpose 😁</p> | ||
</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,28 @@ | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #000; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
height: 100vh; | ||
flex-direction: column; | ||
} | ||
|
||
.content { | ||
text-align: center; | ||
background-color: #020202; | ||
color: white; | ||
padding: 20px; | ||
border-radius: 10px; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
color: darkgray; | ||
} | ||
|
||
footer p { | ||
color: gray; | ||
} |