-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle3.css
More file actions
90 lines (78 loc) · 1.68 KB
/
Copy pathstyle3.css
File metadata and controls
90 lines (78 loc) · 1.68 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
*
{
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
}
a:hover { text-decoration: none }
.feature-card{
background-image: url(images/bg2.png);
}
.feature-card {
width: 280px;
height: 450px;
margin: 50px auto;
background-position: center top;
background-size: cover;
overflow: hidden;
position: relative;
box-shadow: 0 2px 7px #dfdfdf;
transition: 0.3s;
}
.feature-card-details {
position: relative;
/* top: 360px; */
bottom: -110px;
left: 0;
margin-top: 250px;
width: 100%;
padding: 30px;
background: rgba(255, 255, 255, 1); /* initially 0.6 */
border: 1px solid #ddd;
transition: 0.3s linear;
font-size: 15px;
color: #888;
}
.feature-card-details i {
font-size: 35px;
color: #1d365c;
}
.feature-card-details h4 {
font-size: 20px;
color: #1d365c;
margin: 15px 0;
text-transform: uppercase;
font-weight: 700;
}
.feature-card-details a {
display: inline-block;
margin-top: 15px;
color: #1d365c;
text-decoration: none;
font-weight: 700;
}
.feature-card:hover .feature-card-details {
/* transform: translateY(-60%); */
position: absolute;
bottom: 0;
}
.feature-card:hover{
background-image: linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.4)) , url(images/bg2.png);
/* opacity: 0.5; */
filter: brightness(100%);
}
@keyframes hover{
0%{
position: relative;
bottom: -360px;
left: 0;
}
50%{position: absolute;}
100%{
bottom: 0;
}
}