开发者

Show compass blueprint grid

开发者 https://www.devze.com 2023-01-30 07:14 出处:网络
Is it possible to show compass blueprint grid to see its layout. Here is the sample that I want to achieve:

Is it possible to show compass blueprint grid to see its layout.

Here is the sample that I want to achieve:

http://www.blueprintc开发者_开发技巧ss.org/tests/parts/grid.html


Alternatively, include the showgrid mixin (+showgrid in the original SASS syntax):

#my-container
  +showgrid

You do, however, need to generate the image for your particular grid flavor:

$ compass grid-img W+GxH [path/to/grid.png]
# Where:
# 
# W = Width of 1 column in pixels.
# G = Width of 1 gutter in pixels.
# H = Height of the typographic baseline in pixels.


Just add the class showgrid to your container

if you inspect element on that page and remove the showgrid class you'll see it disappear

0

精彩评论

暂无评论...
验证码 换一张
取 消