Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jeet Framework with Sass

Featured Replies

Hello All

 

I have started to create a site using the Jeet Framework. It is going well, but I have run into a problem when trying to use the stack mixin. The stack mixin allows columns to stack once the reach a specified width.

 

I have created a _breakpoint.scss file which contains my breakpoints and I have included this file in my main scss file. The breakpoints all work correctly.

 

The problem I have is that I dont know how to use the stack mixin properly. Usually when I use a breakpoint I use the following:

 

@[member="Include"] breakpoint (mobile) {STYLES TO BE CHANGED}

(mobile is the name of one of the specified breakpoints.)

 

When I try to use:

 

@[member="Include"] breakpoint (mobile) {@[member="Include"] stack}

I get an error.

 

Can anyone point me in the right direction how to use the stack mixin to specify that columns should stack at a certain breakpoint?

 

Thanks for your help.

Edited by predatorx

What's the error you're getting?

Without more info all I can suggest is you try one of the following:

@[member="Include"] breakpoint(mobile) {
.someElement {
@[member="Include"] stack
}
}

or

.someElement {
@[member="Include"] breakpoint(mobile) {
@[member="Include"] stack
}
}

 

looking at the stack mixin here it just sets an element to display block, 100% width.

 

 

 

looks like the new mention feature on the forum is gonna notify a member everytime someone posts some Sass, lol

Edited by Wynn

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.