-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
93 lines (83 loc) · 1.52 KB
/
style.css
File metadata and controls
93 lines (83 loc) · 1.52 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
*{
margin: 0;
padding: 0;
font-family: 'Poppins' ,sans-serif;
box-sizing: border-box;
}
body{
background: rgb(230, 230, 230);
}
a{
text-decoration: none;
}
.container{
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.card{
width: 400px;
height: 500px;
background-color: #f5f4f4;
border-radius: 20px;
padding: 30px;
text-align: left;
}
.card-img{
display: flex;
align-items: center;
max-width: 80%;
border-radius: 10px;
cursor: pointer;
transition: all 2s ease-in;
}
.card-img:hover{
transform: rotateY(20%) ;
animation: move 2s linear infinite;
}
@keyframes move{
0%{
transform: translateX(0px);
}
50%{
transform: scale(1.1);
}
80%{
transform: rotateY(180deg);
}
100%{
transform: translateX(100px);
}
}
.card-title{
font-weight: 30px;
font-weight: 400;
color: blue;
}
.card-price{
font-size: 1.4rem;
font-weight: 400;
}
.card-del{
padding-left: 10px;
font-size: 1.2rem;
color: grey;
}
.card-descip{
font-size: 1.2rem;
padding-bottom: 20px;
}
.card-btn{
background: blue;
color: white;
padding:8px 30px;
border-radius: 8px;
box-shadow: 3px 2px 3px rgb(1, 1, 168);
transition:2s ease-in-out;
cursor: pointer;
}
.card-btn:hover{
background: rgb(255, 0, 0);
color: rgb(0, 0, 0);
}