Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lvl99/1b5fd1ff16ef665dde79b7f410b1429f to your computer and use it in GitHub Desktop.
Save lvl99/1b5fd1ff16ef665dde79b7f410b1429f to your computer and use it in GitHub Desktop.
Object-oriented inspired composable LESS mixins. View the article on the blog: http://blog.lvl99.com
// Modal Mixin Class
// @param @ns Namespaces the custom state classes
.ui-lvl99-modal(@ns: ~"lvl99-modal") {
.ui-lvl99-toggleable(@ns);
.-modal-init-default(@rules: {}) {
.-toggleable-init-default(@rules);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment