How to effectively use the Frameless grid?

后端 未结 5 1159
半阙折子戏
半阙折子戏 2021-02-07 07:47

I\'m starting building a website good for mobile devices too. So I\'m also starting studying media queries and the various grid frameworks. I\'ve taken a look to all the \'main

5条回答
  •  灰色年华
    2021-02-07 08:24

    I'm finally using the frameless grid, so I want to answer my own questions:

    1. Don't know :P I mean, that name, don't know. It doesn't matter, though.. (I also invited the frameless grid author to answer here, but he didn't.)

    2. The @cols vars. I think that basically, they are the frameless grid. Well, they're not, since the frameless grid is 'only' an idea. But in practice, well, it's the main css difference against 'standard' approach. You simply define the width of elements in columns instead of pixels. That's all. This, of course, can be done only using Less or Sass. Since I didn't know less and scss, I couldn't fully undestand the main idea. You'll end up saying that an element is 8 columns wide, another 5 columns wide, etc.. Much more simple than calculating pixels.

    3. See answer 2 :P

    Hope this will help someone else.

提交回复
热议问题