Joined January 2012
·

Maximilian Schulz

Railslove
·
Cologne, Germany
·
·
·

Posted to Drop-In Responsive Styles with Sass over 1 year ago

Yes, and I am not concerned about file size. I was just curious how SASS compiles such an approach. I think you are right, that this might be easier to read. But at the same time, it can increase the number of selectors significantly.

Posted to Drop-In Responsive Styles with Sass over 1 year ago

Did you check your compiled css file? I haven't checked, but I could imagine, that this creates tons of @media queries with nested classes. Or is SASS clever enough to merge them into one?

Simple but effective workaround. And I wouldn't want to create it globally… so this is perfect.

I agree with NARKOZ. Think twice before choosing devise. It's easy to setup and brings lots of features. But beware of the beast. This is some heavy shit you are loading into your project. Lots of code and nasty when you really wanna do some serious customizations. So please think twice before adding this burden.

Achievements
74 Karma
0 Total ProTip Views