Skip to content

Commit abaf7f9

Browse files
Update index.html
revert back to orig feat and a cards
1 parent cfb2269 commit abaf7f9

1 file changed

Lines changed: 9 additions & 18 deletions

File tree

index.html

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -99,24 +99,15 @@
9999

100100

101101

102-
.feat-img {
103-
width: 100%;
104-
height: 280px;
105-
background: var(--charcoal);
106-
position: relative;
107-
overflow: hidden;
108-
}
109-
110-
.feat-img-el {
111-
position: absolute;
112-
left: 50%;
113-
top: 50%; /* start from the center */
114-
min-width: 100%;
115-
height: auto;
116-
transform: translate(-50%, -50%); /* or (-50%, -45%) to push down slightly */
117-
object-fit: cover;
118-
display: block;
119-
}
102+
.feat-img-el,
103+
.acard-img-el {
104+
position: absolute;
105+
inset: 0;
106+
width: 100%;
107+
height: 100%;
108+
object-fit: cover;
109+
display: block;
110+
}
120111

121112
.mini-cal {
122113
border-radius: 10px;

0 commit comments

Comments
 (0)