Skip to content

Commit b355ecc

Browse files
committed
facebook logo using css
1 parent c7e3afd commit b355ecc

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

facebook-logo/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Facebook logo</title>
8+
<link rel="stylesheet" href="style.css">
9+
<link rel="preconnect" href="https://fonts.googleapis.com">
10+
</head>
11+
<body>
12+
<div class="container">
13+
<h1>f</h1>
14+
</div>
15+
</body>
16+
</html>

facebook-logo/readme.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<h1>Facebook logo using CSS</h1>
2+
3+
4+
<h3>Used Technologies</h3>
5+
<ul>
6+
<li>HTML5</li>
7+
<li>CSS3</li>
8+
</ul>
9+
10+
#### Steps to Use:
11+
12+
---
13+
14+
- Download or clone the repository
15+
16+
```
17+
git clone https://github.com/Ayushparikh-code/Web-dev-mini-projects.git
18+
```
19+
20+
- Go to the directory
21+
- Run the index.html file

facebook-logo/style.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
body{
2+
margin: 0;
3+
padding: 0;
4+
height: 100vh;
5+
width: 100%;
6+
display: flex;
7+
justify-content: center;
8+
align-items: center;
9+
background:black;
10+
11+
}
12+
.container{
13+
height: 430px;
14+
width: 430px;
15+
background: #3358a1;
16+
border-radius: 10%;
17+
filter: drop-shadow(0 0 2em #4f5155);
18+
}
19+
20+
h1{
21+
font-family: 'Open Sans', sans-serif;
22+
font-size: 515px;
23+
font-weight: 600;
24+
color: white;
25+
position: relative;
26+
left: 44%;
27+
top: -90.5%;
28+
29+
}

0 commit comments

Comments
 (0)