Put each element at the opposite sideMake a div fill the height of the remaining screen spaceExpand a div to take the remaining widthHow to move an element into another element?How do I right align div elements?How do I vertically center text with CSS?Center image horizontally within a divFont scaling based on width of containerFlexbox: center horizontally and verticallyRemove padding from columns in Bootstrap 3In CSS Flexbox, why are there no “justify-items” and “justify-self” properties?

What is the required burn to keep a satellite at a Lagrangian point?

Meaning of "half-crown enclosure"

Wifi light switch needs neutral wire. Why? AND Can that wire be a skinny one?

How to become an Editorial board member?

Why is this integration method not valid?

Coloring lines in a graph the same color if they are the same length

Is there any mention of ghosts who live outside the Hogwarts castle?

Is ideal gas incompressible?

A nasty indefinite integral

Why is Ni[(PPh₃)₂Cl₂] tetrahedral?

why "American-born", not "America-born"?

Keeping the dodos out of the field

nginx conf: http2 module not working in Chrome in ubuntu 18.04

Why is 'additive' EQ more difficult to use than 'subtractive'?

Caught with my phone during an exam

Does the fact that we can only measure the two-way speed of light undermine the axiom of invariance?

How would a physicist explain this starship engine?

What does it mean when みたいな is at the end of a sentence?

Split into three!

What is this dime sized black bug with white on the segments near Loveland Colorodao?

One word for 'the thing that attracts me'?

Which values for voltage divider

Negative impact of having the launch pad away from the Equator

amsmath: How can I use the equation numbering and label manually and anywhere?



Put each element at the opposite side


Make a div fill the height of the remaining screen spaceExpand a div to take the remaining widthHow to move an element into another element?How do I right align div elements?How do I vertically center text with CSS?Center image horizontally within a divFont scaling based on width of containerFlexbox: center horizontally and verticallyRemove padding from columns in Bootstrap 3In CSS Flexbox, why are there no “justify-items” and “justify-self” properties?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-2















I have these two elements I want to put at the end of each side. The problem is, I have a container with flex which has align-items: center as value, so when I try to use margin-left for 2nd element, or margin right for the other one, it goes down to the 2nd line. Not getting what I want, which is this: https://imgur.com/a/V37Tw51










share|improve this question






















  • you should add your code too

    – kukkuz
    Mar 24 at 4:12

















-2















I have these two elements I want to put at the end of each side. The problem is, I have a container with flex which has align-items: center as value, so when I try to use margin-left for 2nd element, or margin right for the other one, it goes down to the 2nd line. Not getting what I want, which is this: https://imgur.com/a/V37Tw51










share|improve this question






















  • you should add your code too

    – kukkuz
    Mar 24 at 4:12













-2












-2








-2








I have these two elements I want to put at the end of each side. The problem is, I have a container with flex which has align-items: center as value, so when I try to use margin-left for 2nd element, or margin right for the other one, it goes down to the 2nd line. Not getting what I want, which is this: https://imgur.com/a/V37Tw51










share|improve this question














I have these two elements I want to put at the end of each side. The problem is, I have a container with flex which has align-items: center as value, so when I try to use margin-left for 2nd element, or margin right for the other one, it goes down to the 2nd line. Not getting what I want, which is this: https://imgur.com/a/V37Tw51







html css






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 23 at 20:58









RobustRobust

92




92












  • you should add your code too

    – kukkuz
    Mar 24 at 4:12

















  • you should add your code too

    – kukkuz
    Mar 24 at 4:12
















you should add your code too

– kukkuz
Mar 24 at 4:12





you should add your code too

– kukkuz
Mar 24 at 4:12












1 Answer
1






active

oldest

votes


















0














To the parent that contains Remember Me and Forgot Password elements apply:



display: flex;
justify-content: space-between;





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/3.0/"u003ecc by-sa 3.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%2f55318310%2fput-each-element-at-the-opposite-side%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














    To the parent that contains Remember Me and Forgot Password elements apply:



    display: flex;
    justify-content: space-between;





    share|improve this answer



























      0














      To the parent that contains Remember Me and Forgot Password elements apply:



      display: flex;
      justify-content: space-between;





      share|improve this answer

























        0












        0








        0







        To the parent that contains Remember Me and Forgot Password elements apply:



        display: flex;
        justify-content: space-between;





        share|improve this answer













        To the parent that contains Remember Me and Forgot Password elements apply:



        display: flex;
        justify-content: space-between;






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 23 at 21:11









        Eliza K.Eliza K.

        158




        158





























            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%2f55318310%2fput-each-element-at-the-opposite-side%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