susy

Susy 2.1.3 issue regarding layout change on breakpoint

左心房为你撑大大i 提交于 2020-01-17 03:59:16
问题 Help me out you sassy susy's, I am at my breaking point! I am trying to make the most efficient layout for my project, and I have come across something I havn't been able to figure out with Susy/breakpoint. I want the layout columns to change at the breakpoints and not have to change all the individual spans of the div's (as there will be many different span widths with this way. Instead of just 1 and changing 3 or 4 different column layouts). Right now the only way I was able to get this to

Sass Susy gallery: element that spans two columns

扶醉桌前 提交于 2019-12-24 03:59:14
问题 I need to make some elements of susy's gallery mixin span two columns, the problem is as shown in the picture it does not push the other elements after it, even though I tried to do that manually. How could this be done. The link to the code https://github.com/iyedg/IGBlogTheme 回答1: Here is the perfect tutorial about gallery with different size items. And the main point is: You can't achieve this with gallery() mixin, but it's possible with span() mixin by something like $susy: ( columns: 12,

Passing arguments from a mixin to a content block

南笙酒味 提交于 2019-12-11 02:46:39
问题 This open issue in the Sass queue seems to imply passing arguments to @content is not a feature yet, but Susy 2 seems to be able to do this. Tracking down how it's done is a bit of a rabbit hole though and I haven't figured it out yet. Perhaps someone can shed some light with a straightforward example? I want to create a custom mixin that will inherit a layout passed from susy-breakpoint() using a custom map. Example: Defining a 4 column layout in a global Sass map, will return a width of 100

Include a grid framework in visual studio that seems to be linux only?

强颜欢笑 提交于 2019-12-10 20:49:23
问题 I use Visual Studio 2013 with Web Essentials extension for all my Sass/Scss work. Its great. I came across a tutorial on a grid framework that I really want to use called Susy. However the tutorials I seen on it are all using it on Linux or mac and in some sort of a ruby based environment. Even on the site link, I don't see instructions on getting it to work in VS2013. I tried extension manager and nuget package manager but to no avail. My only option seems to be to download the source and

Getting Libsass Gulp Susy to work together

拈花ヽ惹草 提交于 2019-12-08 08:43:31
问题 I have just spent the last 5 days playing with this and trying to get the following to work together: ¬ Libsass ¬ Susy ¬ Gulp But now I have it working I have just gone for 45s to 700ms This is something I feel I should share. Initial Problem Gulp gulp.task('sass', function () { return gulp.src('./frontend/sass/style.scss') .pipe(sass({ 'require':'susy' })) .pipe(gulp.dest('./app/www/css')) }); Sass @import "susy"; Inital Error [23:58:08] Starting 'sass'... stream.js:94 throw er; // Unhandled