how to make even gap for overall card in flexlayoutgapHow to align 3 divs (left/center/right) inside another div?How do I keep two side-by-side divs the same height?How to make flexbox children 100% height of their parent?How to Right-align flex item?Implementing a “Mondrian” pattern using FlexboxHow do I make cards of different heights fill gap in css?Angular 2 material and flex-layout alignmentFlex-layout semi-fixed positionPossible to use CSS Flexbox to stretch elements on every row while maintaining consistent widths?2-column CSS Flex/Grid for UL
Do I have advantage with Riposte when moving away from a flanked enemy and triggering an opportunity attack?
Do wheelchair aircraft exist?
Does "as soon as" imply simultaneity?
Late 1970's and 6502 chip facilities for operating systems
Co-supervisor comes to the office to help her students, which distracts me
What is the meaning of word 'crack' in chapter 33 of A Game of Thrones?
Under what circumstances would RAM locations 0 and 1 be written and/or read on the C64?
Safe to use 220V electric clothes dryer when building has been bridged down to 110V?
Why did UK NHS pay for homeopathic treatments?
Is it impolite to ask for halal food when traveling to and in Thailand?
Proper way to shut down consumer
Meaning of 'ran' in German?
while loop factorial only works up to 20?
What is the white pattern on trim wheel for?
Does the Prepare Food ability from Cook's Utensils stack?
My manager quit. Should I agree to defer wage increase to accommodate budget concerns?
How do pilots align the HUD with their eyeballs?
Cut a cake into 3 equal portions with only a knife
extracting sublists
Recounting events in dialogue
Is it a good idea to leave minor world details to the reader's imagination?
Performance for simple code that converts a RGB tuple to hex string
Designing a time thief proof safe
Is it acceptable to say that a reviewer's concern is not going to be addressed because then the paper would be too long?
how to make even gap for overall card in flexlayoutgap
How to align 3 divs (left/center/right) inside another div?How do I keep two side-by-side divs the same height?How to make flexbox children 100% height of their parent?How to Right-align flex item?Implementing a “Mondrian” pattern using FlexboxHow do I make cards of different heights fill gap in css?Angular 2 material and flex-layout alignmentFlex-layout semi-fixed positionPossible to use CSS Flexbox to stretch elements on every row while maintaining consistent widths?2-column CSS Flex/Grid for UL
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I tried to make a responsive card layout with even gap between each card , unfortunately bottom space not coming on card, but right side gap showing , can any one help how to achieve this scenario. below is my code
Html Code
<div fxLayout="row wrap" fxLayout.xs="column" fxLayoutAlign="space-around center" fxLayoutGap="25px">
<mat-card *ngFor="let member of members" fxFlex="calc(33%-25px)" fxFlex.sm="calc(50%-25px)" >
stack-blitz link
https://stackblitz.com/edit/card-responsive?file=app/card-overview-example.html
flexbox angular-flex-layout
add a comment
|
I tried to make a responsive card layout with even gap between each card , unfortunately bottom space not coming on card, but right side gap showing , can any one help how to achieve this scenario. below is my code
Html Code
<div fxLayout="row wrap" fxLayout.xs="column" fxLayoutAlign="space-around center" fxLayoutGap="25px">
<mat-card *ngFor="let member of members" fxFlex="calc(33%-25px)" fxFlex.sm="calc(50%-25px)" >
stack-blitz link
https://stackblitz.com/edit/card-responsive?file=app/card-overview-example.html
flexbox angular-flex-layout
add a comment
|
I tried to make a responsive card layout with even gap between each card , unfortunately bottom space not coming on card, but right side gap showing , can any one help how to achieve this scenario. below is my code
Html Code
<div fxLayout="row wrap" fxLayout.xs="column" fxLayoutAlign="space-around center" fxLayoutGap="25px">
<mat-card *ngFor="let member of members" fxFlex="calc(33%-25px)" fxFlex.sm="calc(50%-25px)" >
stack-blitz link
https://stackblitz.com/edit/card-responsive?file=app/card-overview-example.html
flexbox angular-flex-layout
I tried to make a responsive card layout with even gap between each card , unfortunately bottom space not coming on card, but right side gap showing , can any one help how to achieve this scenario. below is my code
Html Code
<div fxLayout="row wrap" fxLayout.xs="column" fxLayoutAlign="space-around center" fxLayoutGap="25px">
<mat-card *ngFor="let member of members" fxFlex="calc(33%-25px)" fxFlex.sm="calc(50%-25px)" >
stack-blitz link
https://stackblitz.com/edit/card-responsive?file=app/card-overview-example.html
flexbox angular-flex-layout
flexbox angular-flex-layout
asked Mar 28 at 17:22
dhanadhana
2071 gold badge5 silver badges17 bronze badges
2071 gold badge5 silver badges17 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
The problem seems to be the fxLayout="row wrap"
functionality. the suggestion from the doc says to use fxLayoutGap="10px grid"
but this works even less.
I have come up with this css3 which solved your problem. not very elegant, flex-layout-wise but this seem like a limitation
mat-card.mat-card
margin-bottom: 10px;
add a comment
|
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403546%2fhow-to-make-even-gap-for-overall-card-in-flexlayoutgap%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem seems to be the fxLayout="row wrap"
functionality. the suggestion from the doc says to use fxLayoutGap="10px grid"
but this works even less.
I have come up with this css3 which solved your problem. not very elegant, flex-layout-wise but this seem like a limitation
mat-card.mat-card
margin-bottom: 10px;
add a comment
|
The problem seems to be the fxLayout="row wrap"
functionality. the suggestion from the doc says to use fxLayoutGap="10px grid"
but this works even less.
I have come up with this css3 which solved your problem. not very elegant, flex-layout-wise but this seem like a limitation
mat-card.mat-card
margin-bottom: 10px;
add a comment
|
The problem seems to be the fxLayout="row wrap"
functionality. the suggestion from the doc says to use fxLayoutGap="10px grid"
but this works even less.
I have come up with this css3 which solved your problem. not very elegant, flex-layout-wise but this seem like a limitation
mat-card.mat-card
margin-bottom: 10px;
The problem seems to be the fxLayout="row wrap"
functionality. the suggestion from the doc says to use fxLayoutGap="10px grid"
but this works even less.
I have come up with this css3 which solved your problem. not very elegant, flex-layout-wise but this seem like a limitation
mat-card.mat-card
margin-bottom: 10px;
answered Mar 28 at 17:41
jcuypersjcuypers
1,4191 gold badge11 silver badges19 bronze badges
1,4191 gold badge11 silver badges19 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55403546%2fhow-to-make-even-gap-for-overall-card-in-flexlayoutgap%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown