Please refer to the image below. I have a grid set up (using Bourbon Neat). The first pink element fits normally over 5 columns, but the green element needs to start on the 6th column but ends breaking out of the grid and touching the edge of the browser. I'm fairly sure that this isn't possible without using javascript, but hopefully I can be proved wrong!
Any ideas how to accomplish this?
EDIT: This needs to work with max-width on the outer-container!
Example HTML:
<div class="container">
<div class="pink"></div>
<div class="green"></div>
</div>
Bourbon:
.container{
@include outer-container();
}
.pink{
@include span-columns(5);
}
.green{
@include span-columns(7);
// What to do here???
}