I am building layout for my site with blueprint. Suppose I have:
.container {
@include container;
@extend .showgrid;
#section {
@include column($blueprint-grid-columns, true);
#subsection1 {
@extend .border;
@include column($blueprint-grid-columns/2);
}
#subsection2 {
@include column($blueprint-grid-columns/2, true);
}
}
}
According to this code #section spans 24 columns, and it includes two
subsections that span 12 columns. #subsection1 should be separated
from #subxection2 by vertical border. The problem is that the presence
of the border (@extend .border) breaks the layout, so #subsection2
jumps to the next line. Without the border the subsections sit nicely
alongside of each other. I am newbie to compass and SCSS and most
likely I am doing something wrong. But what is wrong with the code
above?
And I have another question concerning screen.sccs, which is generated
during creation of a project. Lines 38-39:
#header, #footer {
@include column($blueprint-grid-columns); }
Shouldn't this be @include column($blueprint-grid-columns, true),
because #header and #footer are last columns?
Thanks in advance. Sorry for my English.
--
with regards,
Maxim
--
You received this message because you are subscribed to the Google Groups "Compass" group.
To post to this group, send email to compas...@googlegroups.com.
To unsubscribe from this group, send email to compass-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.
> And I have another question concerning screen.sccs, which is generatedBlueprint permits the use of class="span-24" without last when the
> during creation of a project. Lines 38-39:
> #header, #footer {
> @include column($blueprint-grid-columns); }
> Shouldn't this be @include column($blueprint-grid-columns, true),
> because #header and #footer are last columns?
span size equals
the enclosing container size. What you describe above mirrors this.