Skip to content

Instantly share code, notes, and snippets.

View t0t's full-sized avatar
🏠
Working from home

Sergio Forés t0t

🏠
Working from home
View GitHub Profile

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables

@t0t
t0t / functions.php
Created January 16, 2014 11:50 — forked from setola/functions.php
<?php
/**
* Extended Walker class for use with the
* Twitter Bootstrap toolkit Dropdown menus in Wordpress.
* Edited to support n-levels submenu.
* @author johnmegahan https://gist.github.com/1597994, Emanuele 'Tex' Tessore https://gist.github.com/3765640
*/
class BootstrapNavMenuWalker extends Walker_Nav_Menu {