Skip to content

Commit 7640944

Browse files
committed
insta logo using pure CSS added
1 parent c7e3afd commit 7640944

File tree

4 files changed

+116
-0
lines changed

4 files changed

+116
-0
lines changed

Instagram-logo-using-CSS/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Welcome 🖐 to Instagram logo using pure CSS
2+
It is a simple and resonsive Website made using bootstrap.
3+
4+
## Desktop View
5+
<img src="image/insta">
6+
7+
## 💻Tech Stack
8+
<br>
9+
10+
![HTML](https://img.shields.io/badge/html5%20-%23E34F26.svg?&style=for-the-badge&logo=html5&logoColor=white)
11+
![CSS](https://img.shields.io/badge/css3%20-%231572B6.svg?&style=for-the-badge&logo=css3&logoColor=white)
12+
13+
14+
<br>
15+
16+
### How to use:
17+
18+
---
19+
20+
- Download or clone the repository
21+
22+
```
23+
git clone https://github.com/Ayushparikh-code/Web-dev-mini-projects.git
24+
```
25+
26+
- Go to the directory
27+
- Run the index.html file
28+
29+
30+
<br>
31+
32+
## Coding is fun, So enjoy :)
127 KB
Loading

Instagram-logo-using-CSS/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
<link rel="stylesheet" href="style.css">
8+
<title>Document</title>
9+
</head>
10+
<body>
11+
<div class="insta">
12+
<div class="innerbox"></div>
13+
</div>
14+
</body>
15+
</html>

Instagram-logo-using-CSS/style.css

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
*{
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
}
6+
7+
body{
8+
display: flex;
9+
justify-content: center;
10+
align-items: center;
11+
width: 100vw;
12+
height: 100vh;
13+
/* overflow: hidden; */
14+
background: rgb(32, 28, 28);
15+
}
16+
.insta{
17+
width: 150px;
18+
height: 150px;
19+
background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6749f 60%, #4067dd 92%);
20+
border-radius: 35px;
21+
display: grid;
22+
place-items: center;
23+
filter: drop-shadow(0 0mm 2em rgb(160, 144, 144));
24+
animation: updown 1s infinite alternate;
25+
}
26+
@keyframes updown {
27+
0%{
28+
transform: translateY(0);
29+
}
30+
100%{
31+
transform: translateY(-10px);
32+
}
33+
34+
}
35+
36+
37+
.innerbox{
38+
width: 120px;
39+
height: 120px;
40+
border: 10px solid #fff;
41+
border-radius: 32px;
42+
display: grid;
43+
place-items: center;
44+
position: relative;
45+
}
46+
47+
.innerbox::after{
48+
content: '';
49+
width: 45px;
50+
height: 45px;
51+
border: 10px solid #fff;
52+
border-radius: 50%;
53+
background: transparent;
54+
/* position: absolute; */
55+
}
56+
57+
.innerbox::before{
58+
content: '';
59+
width: 10px;
60+
height: 10px;
61+
border: 2px solid white;
62+
border-radius: 50%;
63+
background:white ;
64+
position:absolute;
65+
top: 8px;
66+
left: 75px;
67+
/* right: 10px; */
68+
69+
}

0 commit comments

Comments
 (0)