-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyles.css
More file actions
74 lines (72 loc) · 1.08 KB
/
Copy pathstyles.css
File metadata and controls
74 lines (72 loc) · 1.08 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
*{
margin: 0;
padding: 0;
text-decoration: none;
font-family: fantasy;
}
body{
background-color: aqua;
}
.card{
width: 360;
background: beige;
position: absolute;
top: 15%;
left: 35%;
transform: translate(-50,-50);
}
.top-section{
height: 310px;
overflow: hidden;
background: #fff;
position: relative;
}
#image-container{
width: 360px;
height: 240px;
}
.nav{
text-align: center;
}
.nav img{
width: 80px;
height: 50px;
border: 1px solid #ddd;
margin: 8px 2px;
cursor: pointer;
transition: 0.3s;
}
.nav img:hover{
border-color: bisque;
}
.price{
position: absolute;
top: 15px;
left:15px;
color: darkslategray;
font-size: 24px;
}
.product-info{
padding: 24px;
}
.name{
text-transform: uppercase;
font-size: 24px;
color:#333;
}
.dis{
font-size: 16px;
opacity: 0.7;
}
.btn{
display: block;
background: darkslategray;
text-align: center;
color: #fff;
padding: 10px;
margin-top: 10px;
transition: 0.3s;
}
.btn:hover{
background: #333;
}