Skip to content

Commit 144dcac

Browse files
Merge pull request #412 from perveen-neha/perveen-neha-youtube-logo-using-css
youtube logo using pure css
2 parents c1a60de + d2b1eef commit 144dcac

File tree

3 files changed

+73
-0
lines changed

3 files changed

+73
-0
lines changed

Youtube-Logo/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Welcome 🖐 to Youtube Logo using pure css
2+
3+
4+
5+
## 💻Tech Stack
6+
<br>
7+
8+
![HTML](https://img.shields.io/badge/html5%20-%23E34F26.svg?&style=for-the-badge&logo=html5&logoColor=white)
9+
![CSS](https://img.shields.io/badge/css3%20-%231572B6.svg?&style=for-the-badge&logo=css3&logoColor=white)
10+
11+
<br>
12+
13+
### How to use:
14+
15+
---
16+
17+
- Download or clone the repository
18+
19+
```
20+
git clone https://github.com/Ayushparikh-code/Web-dev-mini-projects.git
21+
```
22+
23+
- Go to the directory
24+
- Run the index.html file
25+
- CNavigate the website in different modes(desktop or mobile)
26+
27+
<br>
28+
29+
## Happy Coding!

Youtube-Logo/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+
<title>Youtube Logo</title>
8+
<link rel="stylesheet" href="style.css">
9+
</head>
10+
<body>
11+
<div class="container">
12+
<div class="triangle"></div>
13+
</div>
14+
</body>
15+
</html>

Youtube-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+
box-sizing: border-box;
5+
height: 100vh;
6+
width: 100%;
7+
display: flex;
8+
align-items: center;
9+
justify-content: center;
10+
background: black;
11+
}
12+
.container{
13+
height: 276px;
14+
width: 424px;
15+
background: #ec1717;
16+
border-radius: 20%;
17+
display: flex;
18+
align-items: center;
19+
justify-content: center;
20+
filter: drop-shadow(0 0 1em red);
21+
22+
}
23+
.triangle{
24+
width: 0;
25+
height: 0;
26+
border-top: 50px solid transparent;
27+
border-bottom: 50px solid transparent;
28+
border-left: 100px solid rgb(255, 255, 255);
29+
}

0 commit comments

Comments
 (0)