We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 233f8d4 commit 0b5a676Copy full SHA for 0b5a676
1 file changed
index.html
@@ -99,23 +99,22 @@
99
100
101
102
-/* Make the card's image box taller */
103
.feat-img {
104
width: 100%;
105
- height: 360px; /* was 280px – increase until it feels right */
+ height: 280px; /* your original height */
106
background: var(--charcoal);
107
position: relative;
108
- overflow: hidden; /* keep this */
+ overflow: hidden;
109
}
110
111
-/* Keep full-bleed behavior */
+/* for the cropped feature image */
112
.feat-img-el {
113
position: absolute;
114
- inset: 0;
+ left: 50%;
+ top: 60%; /* >50 pushes the visible area down */
115
116
- height: 100%;
117
- object-fit: cover; /* keep cover for full-card fill */
118
- display: block;
+ height: auto;
+ transform: translate(-50%, -50%);
119
120
121
0 commit comments