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;








1















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










share|improve this question






























    1















    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










    share|improve this question


























      1












      1








      1








      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










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 17:22









      dhanadhana

      2071 gold badge5 silver badges17 bronze badges




      2071 gold badge5 silver badges17 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0
















          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;






          share|improve this answer



























            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
            );



            );














            draft saved

            draft discarded
















            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









            0
















            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;






            share|improve this answer





























              0
















              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;






              share|improve this answer



























                0














                0










                0









                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;






                share|improve this answer













                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;







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 28 at 17:41









                jcuypersjcuypers

                1,4191 gold badge11 silver badges19 bronze badges




                1,4191 gold badge11 silver badges19 bronze badges

































                    draft saved

                    draft discarded















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript