File tree 1 file changed +67
-0
lines changed
1 file changed +67
-0
lines changed 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 > CSS MultiColor Website</ title >
8
+ < style >
9
+ @import url ('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap' );
10
+ </ style >
11
+ < style >
12
+
13
+ /* :root{
14
+ --primary-color: #ad5afacc;
15
+ --text-color: white;
16
+ --secondary-color: #e3cff5cc;
17
+ } */
18
+
19
+ : root {
20
+ --primary-color : # 061872cc ;
21
+ --text-color : white;
22
+ --secondary-color : # 6ea5fccc ;
23
+ }
24
+
25
+ body {
26
+ background-color : var (--secondary-color );
27
+ }
28
+ * {
29
+ margin : 0 ;
30
+ padding : 0 ;
31
+ font-family : 'Poppins' , sans-serif;
32
+ }
33
+
34
+ nav {
35
+ background-color : var (--primary-color );
36
+ padding : 12px 0 ;
37
+ }
38
+
39
+ ul li {
40
+ list-style : none;
41
+ display : inline;
42
+ padding : 23px ;
43
+ font-weight : bolder;
44
+
45
+ }
46
+
47
+ ul li a {
48
+ color : var (--text-color );
49
+ text-decoration : none;
50
+ }
51
+ </ style >
52
+ </ head >
53
+
54
+ < body >
55
+ < header >
56
+ < nav >
57
+ < ul >
58
+ < li > < a href ="/ "> Home</ a > </ li >
59
+ < li > < a href ="/ "> About</ a > </ li >
60
+ < li > < a href ="/ "> Services</ a > </ li >
61
+ < li > < a href ="/ "> Contact Us</ a > </ li >
62
+ </ ul >
63
+ </ nav >
64
+ </ header >
65
+ </ body >
66
+
67
+ </ html >
You can’t perform that action at this time.
0 commit comments