-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject5.css
More file actions
116 lines (111 loc) · 2.2 KB
/
Copy pathproject5.css
File metadata and controls
116 lines (111 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
*{
background-color: aqua;
margin: 0;padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Times New Roman', Times, serif;
}
a {
text-decoration: none;
}
li{
list-style: none;
}
:root{
--drop-shadow:0px 3px 5px 2px rgb(0,0,0) ;
--main-color:rgb(1,3,210);
}
.navbar{
width: 100%;
padding: 20px auto;
}
.continer{
width: 80%;
margin: auto;
}
.continer h2{
font-weight: lighter;
font-size: 20px ;
cursor: pointer;
color: rgb(0, 0, 0);
}
.navbar .continer{
display: grid;
grid-template-columns: repeat(2,1fr);
}
.nav{
justify-self: end;
font-weight: 600;
display: flex;
gap: 20px;
align-items: center;
}
.nav a{
color: black;
font-size: 20px;
font-weight: 600;
margin-right: 30px;
}
.nav .cart{
margin-left: 70px ;
padding: 10px 30px ;
border: 2px solid black;
border-radius: 15px ;
-webkit-border-radius: 15px ;
-moz-border-radius: 15px ;
-ms-border-radius: 15px ;
-o-border-radius: 15px ;
}
.main{
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.main-conttiner{
width: 85%;
margin: 50px auto;
display: grid;
grid-template-columns: repeat(2,1fr);
gap: 20px;
padding: 20px;
border: 1px solid #ccc;
}
.main-conttiner div{
animation: fadeIn 0.9s ease-in-out;
-webkit-animation: fadeIn 0.9s ease-in-out;
}
.main-conttiner div h2 {
color :blue ;
margin-top:50px ;
margin-bottom: 20px ;
}
.main-conttiner h1 {
font-size: x-large;
margin: 15px 0;
color: rgb(0,0,0);
}
.main-conttiner p{
font-size: 15px ;
margin: 15px 0 ;
}
.main-conttiner img{
width: 100%;
height: 300px;
border-radius: 20px ;
-webkit-border-radius: 20px ;
-moz-border-radius: 20px ;
-ms-border-radius: 20px ;
-o-border-radius: 20px ;
}
.main-conttiner .btn{
background-color: var(--main-color);
padding: 15px 25px ;
margin: 10px 0;
-webkit-border-radius: 20px ;
-moz-border-radius: 20px ;
border: 2px solid black;
border-radius: 20px ;
}