문제

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

Here is the sample that I want to achieve:

http://www.blueprintcss.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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top