-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
79 lines (75 loc) · 1.37 KB
/
style.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
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
background-color: #f3eae3;
margin: 0;
padding: 0;
min-height: 100vh;
min-width: 100vw;
display: flex;
justify-content: center;
align-items: center;
font-size: 14px;
}
.main{
display: flex;
background-color: #ffffff;
border-radius: 15px 15px 15px 15px;
max-width: 1440px;
}
.img{
/* width: 50%; */
}
.details{
/* width: 50%; */
display: flex;
flex-direction: column;
justify-content: space-evenly;
width: 300px;
text-align: center;
align-items: center;
}
button{
width: 70%;
text-align: center;
border: none;
border-radius: 5px;
padding: 1rem;
font-size: 16px;
background-color: #418169;
color: #ffffff;
}
.cart{
background-color: #418169;
color: #418169;
}
button:hover{
background-color: #1a4031;
cursor: pointer;
}
img{
width: 100%;
}
/* mobile */
@media (max-width:375px){
img{
background-image: url("../images/image-product-mobile.jpg");
}
.main{
display: flex;
flex-direction: column;
min-height: 100vh;
width: 300px;
height: 600px;
justify-content: space-evenly;
align-items: center;
}
.details{
display: flex;
justify-content: space-evenly;
align-items: center;
}
}