-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexercise_3.css
107 lines (90 loc) · 1.46 KB
/
exercise_3.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
.container {
width: 60%;
margin: 5px auto;
}
.nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0px;
}
.navbar-items, .logo {
display: inline-block;
height: auto;
}
.logo {
padding: 10px;
}
.navbar-items ul {
list-style: none;
}
.navbar-items ul li {
display: inline-block;
padding: 10px;
}
.navbar-items ul li a {
text-decoration: none;
color: grey;
}
.banner {
margin-left: -33.33%;
margin-right: -33.33%;
}
.banner img {
width: 100%;
}
.border-left {
border-left: 1px solid #eee;
}
.product-display {
margin: 40px 0px;
padding:10px;
text-align: center;
}
.title {
font-weight: 600;
font-size: 20px;
margin: 30px 0px;
}
.title::before, .title::after {
content: "";
background-color: #eee;
width: 150px;
height: 1px;
display: inline-block;
vertical-align: middle;
margin: 0px 10px;
}
.product-card {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.card {
width: 30%;
border: 1px solid #eee;
padding: 10px;
margin: 5px 0px;
}
.card img {
height: 260px;
}
.brand-display {
padding: 10px;
display: flex;
justify-content: space-between;
}
.brand-card {
width: auto;
height: auto;
}
.brand-card > img {
height: 61px;
width: 125px;
}