forked from aakarshpatel84/Ideacart-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.css
125 lines (120 loc) · 1.99 KB
/
navbar.css
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
117
118
119
120
121
122
123
124
125
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
header {
z-index: 1;
width: 100%;
background-color: #2874f0;
/* border-radius: 10px; */
height: 70px;
font-size: 20px;
position: sticky;
top: 0px;
}
#container {
width: 1280px;
margin: auto;
}
#check-box {
display: grid;
grid-template-columns: repeat(3, 1fr);
align-items: center;
padding: 10px 0px;
}
.logo {
text-decoration: none;
color: yellow;
padding-left: 10px;
margin-left: 30px;
display: flex;
}
.logo > img {
width: 30px;
background-color: #2874f0;
}
.tab-nav {
outline: none;
display: none;
}
label {
display: none;
color: white;
}
.burger {
width: 35px;
height: 5px;
background-color: white;
margin-top: 5px;
}
#searchbooks {
width: 100px;
padding: 6px;
margin-left: -5px;
border-right: none;
border-top: none;
border-bottom: none;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
font-size: 17px;
background-color: white;
border-left: 1px solid black;
}
#check-box > form > input[type="submit"]:hover {
background-color: #fc2802;
color: white;
}
#card {
display: grid;
grid-template-columns: repeat(5, 1fr);
list-style: none;
margin: 0px;
padding: 0px;
}
#card > div {
display: flex;
justify-content: center;
align-items: center;
}
#card > div > a {
text-decoration: none;
color: white;
position: relative;
}
#card > div > a:hover {
color: yellow;
font-weight: bold;
}
#card > div > a::after {
content: "";
display: block;
height: 2px;
background-color: white;
position: absolute;
left: 0;
right: 0;
transform-origin: right;
transform: scale(0, 1);
transition: transform ease-in-out 0.9s;
}
#card > div > a > img {
width: 60%;
background: none;
border-radius: 10px;
}
#card > div > a {
text-align: center;
}
.search {
padding: 6px;
font-size: 17px;
border: none;
width: 80%;
margin-left: -210px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.search:focus {
outline: none;
}