source: CSS/Header.css

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 6 days ago

Upload project files

  • Property mode set to 100644
File size: 1.5 KB
Line 
1*{
2 margin: 0;
3 padding: 0;
4 box-sizing: border-box;
5 scroll-behavior: smooth;
6 font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
7 list-style: none;
8 text-decoration: none;
9}
10
11header{
12 position: fixed;
13 width: 100%;
14 top: 0;
15 right: 0;
16 z-index: 1000;
17 display: flex;
18 align-items: center;
19 justify-content: space-between;
20 padding: 20px 10%;
21 background-color: white;
22}
23
24header a {
25 color: black;
26 margin-right: 20px;
27}
28
29.logo img{
30 max-width: 120px;
31 height: auto;
32}
33
34.navigationmenu{
35 display: flex;
36}
37
38.navigationmenu a{
39 color: #2c2c2c;
40 font-size: 16px;
41 text-transform: capitalize;
42 padding: 10px 20px;
43 font-weight: 400;
44 transition: all .42 ease;
45}
46
47.navigationmenu a:hover{
48 color:#59acac;
49}
50
51
52.nav-icon{
53 display: flex;
54 align-items: center;
55}
56
57.nav-icon i{
58 margin-right: 20px;
59 color: #2c2c2c;
60 font-size: 25px;
61 font-weight: 400;
62 transition: all .42 ease;
63}
64
65.nav-icon i:hover{
66 transform: scale(1.1);
67 color:#59acac;
68}
69
70.dropdown-list{
71 cursor: pointer;
72}
73
74.dropdown-menu{
75 max-height: 0;
76 overflow: hidden;
77 transition: max-height 4.s ease-out;
78 position: absolute;
79 background-color: white;
80}
81
82.dropdown-menu li {
83 padding: 10px 20px 10px 20px;
84}
85
86.dropdown-menu li:hover {
87 color: turquoise;
88 background-color: rgb(251, 251, 251);
89}
90
91.dropdown-list:hover .dropdown-menu{
92 max-height: 1000px;
93 transition: max-height 0.8s ease-out;
94}
Note: See TracBrowser for help on using the repository browser.