Joined August 2013
·
Posted to
Comma separated list items with SCSS (Oxford comma optional)
over 1 year
ago
You should be able to do &:not(:last-child):after
, and save yourself from typing this part:
&:last-child:after {
content:'';
}
Posted to
Bootstrap without all the debt
over 1 year
ago
@biggernoise I think this article is outdated, or I'm still missing something. I use Bootstrap, and I have no issues with using it semantically. For exmaple:
main {
@include make-row; /* BS mixin */
article.post {
@include make-lg-column(8); /* Also BS mixin */
}
}
I don't see how Foundation is different. Unless we are comparing Bootstrap. Bootstrap since version 2 has offered this functionality and I depend on it now.
The docs are also pretty clear about using the mixins.
Posted to
Bootstrap without all the debt
over 1 year
ago
To some of the commenters here, perhaps I am missing something but what is the difference between Bootstrap grids and Foundation grids... Foundation uses "row > small-x large-x columns" while Bootstrap uses "row > col-x col-sm-x col-lg-x". How is one more semantic than the other?
Achievements
46 Karma
0 Total ProTip Views
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Mongoose
Have at least one original repo where Ruby is the dominant language
You can use
render partial: 'foo', collection: @items
and then remove the manual iteration you do inside the item partial.