Grow your CSS skills. Land your dream job.

Which is the “best” boilerplate?

  • # April 8, 2013 at 5:46 am

    Class names don’t have to be semantic although you make a reasonable point.

    I do have one question…if you have a class of .group that has its width set in a media query, do you have another class of .group-2 for another group with a different width?

    Perhaps I’m not getting it.

    # April 8, 2013 at 6:07 am

    > @dfogge – Definitely on the money – instead of a lengthy and complex grid for our new site, I simply created an uber simple framework;

    Lovely code Andy, really. But as long as it involves figures like `22.105%`, `48.05%` and `30.73%` I’m not sure we can still talk about an “uber simple” thing.

    # April 8, 2013 at 4:29 pm

    @Paulie_D: Here’s a very quick and messy example of what I was talking about. Of course, it’s better when you have a real layout to plan so it’s not as messy as this. Most of the time you can create grids with the existing div or p tags, but sometimes you may want to create a class (such as .group), so you can get more complex. My designs aren’t usually overly complex, so I normally just use divs to create basic grids.

    [CodePen Example](http://codepen.io/msguerra74/pen/CKJyI “”)

    # November 12, 2014 at 6:23 am

    @magnus_vb let me add my options here. It depends what kind of projects are you focusing on. Did you try Less http://lesscss.org/ pre-processor? If you are building micro-projects or prototypes, don’t hesitate to use it as it reduce the development time and a lot of hassle. For building MVP’s you can use it as part of Eskimo boilerplate, http://eskimo.io, allowing to quickly built up your desired project.

    __
    # November 12, 2014 at 10:45 am

    @spascan, this conversation ended eighteen months ago. Generally, it’s not a good idea to post in such old topics without a very, very good reason. It is doubtful that the OP is still preoccupied with this question. If you really have something worth saying, it’s probably a better idea to start a new discussion instead of bringing an old, finished thread back up to the surface.

Viewing 5 posts - 16 through 20 (of 20 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".