File tree Expand file tree Collapse file tree 3 files changed +85
-0
lines changed Expand file tree Collapse file tree 3 files changed +85
-0
lines changed Original file line number Diff line number Diff line change 44
44
| 36 | [ Skills Bar] ( https://github.com/sahilatahar/HTML-CSS-JavaScript/tree/main/skills-bar ) | [ Live Demo] ( https://sahilatahar.github.io/HTML-CSS-JavaScript/skills-bar/ ) |
45
45
| 37 | [ Custom Date Input] ( https://github.com/sahilatahar/HTML-CSS-JavaScript/tree/main/custom-date-input ) | [ Live Demo] ( https://sahilatahar.github.io/HTML-CSS-JavaScript/custom-date-input/ ) |
46
46
| 38 | [ Social Media Card] ( https://github.com/sahilatahar/HTML-CSS-JavaScript/tree/main/social-media-card ) | [ Live Demo] ( https://sahilatahar.github.io/HTML-CSS-JavaScript/social-media-card/ ) |
47
+ | 39 | [ Microsoft Logo] ( https://github.com/sahilatahar/HTML-CSS-JavaScript/tree/main/microsoft-logo ) | [ Live Demo] ( https://sahilatahar.github.io/HTML-CSS-JavaScript/microsoft-logo/ ) |
47
48
48
49
### Disclaimer Regarding Ownership of this repository
49
50
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+
4
+ < head >
5
+ < meta charset ="UTF-8 ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
+ < title > Microsoft Logo</ title >
8
+ < link rel ="stylesheet " href ="style.css ">
9
+ </ head >
10
+
11
+ < body >
12
+ < main >
13
+ < div class ="logo ">
14
+ < span class ="square "> </ span >
15
+ < span class ="square "> </ span >
16
+ < span class ="square "> </ span >
17
+ < span class ="square "> </ span >
18
+ </ div >
19
+ < h1 class ="brand-name "> Microsoft</ h1 >
20
+ </ main >
21
+ </ body >
22
+
23
+ </ html >
Original file line number Diff line number Diff line change
1
+ * {
2
+ padding : 0 ;
3
+ margin : 0 ;
4
+ box-sizing : border-box;
5
+ }
6
+
7
+ body {
8
+ min-height : 100vh ;
9
+ display : flex;
10
+ justify-content : center;
11
+ align-items : center;
12
+ background-color : white;
13
+ }
14
+
15
+ .logo {
16
+ width : min (95vw , 400px );
17
+ aspect-ratio : 1 ;
18
+ display : flex;
19
+ flex-wrap : wrap;
20
+ justify-content : space-evenly;
21
+ gap : .8rem ;
22
+ padding : .8rem ;
23
+ background-color : white;
24
+ box-shadow : 0px 0px 10px 5px rgba (0 , 0 , 0 , .1 );
25
+ }
26
+
27
+ .square {
28
+ width : 48% ;
29
+ aspect-ratio : 1 ;
30
+ }
31
+
32
+ .square : nth-child (1 ) {
33
+ background-color : # f65314 ;
34
+ }
35
+
36
+ .square : nth-child (2 ) {
37
+ background-color : # 7cbb00 ;
38
+ }
39
+
40
+ .square : nth-child (3 ) {
41
+ background-color : # 00a1f1 ;
42
+ }
43
+
44
+ .square : nth-child (4 ) {
45
+ background-color : # ffbb00 ;
46
+ }
47
+
48
+ .brand-name {
49
+ width : 100% ;
50
+ text-align : center;
51
+ font-size : 5.5rem ;
52
+ font-weight : 600 ;
53
+ color : # 666 ;
54
+ margin-top : .5rem ;
55
+ }
56
+
57
+ @media screen and (max-width : 500px ) {
58
+ .brand-name {
59
+ font-size : 3.5rem ;
60
+ }
61
+ }
You can’t perform that action at this time.
0 commit comments