Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
Like Tree2Likes
  • 1 Post By Vapr_Arts
  • 1 Post By breno

Thread: Flexbox

  1. #1
    Senior Member breno's Avatar
    Join Date
    Feb 2015
    Location
    Australia
    Posts
    138
    Member #
    41574
    Liked
    29 times

    Flexbox

    Since we were talking about flexbox in that other thread, it's reminded to me to keep continuing to practice using this technique with layouts etc.
    But it got me thinking, is flexbox a viable alternative for traditional methods in all circumstances? Or is it something that can/should only be applied in certain circumstances?
    I'm thinking the former in my experience thus far, but I'd like to get some opinions on it.
    As far as I know Bootstrap 4 will be utilising flexbox in its classes, I believe this will help expose it to be utilised more and more by developers.
    Not sure if the latest release of Foundation has.

  2.  

  3. #2
    Senior Member Vapr_Arts's Avatar
    Join Date
    Oct 2013
    Location
    California
    Posts
    1,930
    Member #
    37412
    Liked
    544 times
    I dislike things like bootstrap and foundation because they come with more stuff than i need and are not fully personalized. I like to do it all myself. I like slowly shrinking my browser and finding the sizes that my layout breaks at. Not all layouts are the same and having something custom just makes me happier. It may be a little more work/time consuming but I have found that I enjoy working on the sites more than I do finishing them. So more work to me is sort of a benefit.

    I have never really taken the time to fully work with Bootstrap or Foundation. I have played with both but none that I could give a very good review on, so take my advice on this all with that in mind as well.

    I just have this really bad (maybe good) habit of thinking "i like this, but I could do it better." I know I can't always do it better but in my head if it works, and I did it myself, its better. This does bite me in the *** a lot too tho. I will admit when I am beat but not after putting in as much effort as I can to do it myself first. I don't work with a lot of clients and I can get away with spending more time than I should on projects because usually I do this with personal projects. When I am on a tight deadline I will use outside resources. Its all in the name of learning for me.


    Sent from my iPhone using Tapatalk
    breno likes this.

  4. #3
    Senior Member breno's Avatar
    Join Date
    Feb 2015
    Location
    Australia
    Posts
    138
    Member #
    41574
    Liked
    29 times
    Yeah I understand what your saying about doing it all yourself, I'm the same way too. I'm tinkering with BS to learn what it can do, I must say it allows me to frame together a site real quick but at the same time I don't want to get lazy either. I think it'd have its place like small quick jobs but you really do have strip out all the unused CSS/JS and there are plenty of tools available for that.
    But this is a flexbox discussion not a CSS framework discussion

    I mentioned the frameworks as a 'by the way' in favour of flexbox being utilised by them.
    Vapr_Arts likes this.

  5. #4
    Senior Member Vapr_Arts's Avatar
    Join Date
    Oct 2013
    Location
    California
    Posts
    1,930
    Member #
    37412
    Liked
    544 times
    You are right I got off topic a lil haha.


    Sent from my iPhone using Tapatalk

  6. #5
    Senior Member brandMatt's Avatar
    Join Date
    Oct 2015
    Location
    St .Catharines Ontario
    Posts
    240
    Member #
    52164
    Liked
    51 times
    The way I see it is there is a certain circumstance that warrants the use of flex or floats. Floats require clearing, it's kinda verbose (extra code). Sometimes using floats reverses the order of elements, this really sucks for menus. Flex just gives more control, as there are significantly more options.

    Positioning could always be used, but it too has it's caveats, especially with non-dynamic* content.

    * I didn't wanna to say static and derail this whole post.
    Last edited by brandMatt; Nov 28th, 2015 at 09:27 PM.

    My Web Site:
    brandwebdesign.ca
    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link. Some of us are really insecure and need those likes so that we feel important and smart, so come on, help us out, huh?

  7. #6
    Junior Member
    Join Date
    Dec 2015
    Posts
    2
    Member #
    52823
    Flex items have to be scoped through the parent element. So there may be scenarios where you want to change the layout properties of an element on the fly but not have to scope it through the parent.

    Since I can't think of a layout scenario off the top of my head that you can't accomplish through flexbox but can with either inline-block or floats, maybe in the near future we will be using flexbox in all circumstances over floats and inline-block. It will be interesting to see.

    For the time being, browser support concerns and sticking with what has worked for simple layout scenarios are what keeps older methods alive.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:04 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com