File tree 3 files changed +11
-3
lines changed
3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
- < section id =" card " >
1
+ < section >
2
2
< h2 > {{include.title}}</ h2 >
3
- < div class ="card rounded shadow " style =" height: 400px; " >
3
+ < div class ="card rounded shadow ">
4
4
< img srcset ="{{include.image375}} 375w,
5
5
{{include.image690}} 690w,
6
- {{include.image1110}} 1110w " sizes ="100vw " class ="card-img " style =" height: 400px; object-fit:cover; " alt ="{{include.imagealt}} ">
6
+ {{include.image1110}} 1110w " sizes ="100vw " class ="card-img " alt ="{{include.imagealt}} ">
7
7
< div class ="card-img-overlay d-flex flex-column ">
8
8
< h1 class ="text-white pl-3 "> {{include.overlayheadline}}</ h1 >
9
9
< p class ="text.white pl-3 "> {{ include.text }}</ p >
Original file line number Diff line number Diff line change
1
+ .card {
2
+ height : 400px ;
3
+ img {
4
+ object-fit : cover ;
5
+ height : 400px ;
6
+ }
7
+ }
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ $fa-font-path: "../font-awesome/fonts";
15
15
@import " button" ;
16
16
@import " header" ;
17
17
@import " section" ;
18
+ @import " card" ;
You can’t perform that action at this time.
0 commit comments