Skip to content

Instantly share code, notes, and snippets.

View zangbianxuegu's full-sized avatar

zangbianxuegu zangbianxuegu

View GitHub Profile
@zangbianxuegu
zangbianxuegu / JQuery simple Tab Plugin.coffee
Last active October 4, 2015 15:26 — forked from dsignr/JQuery simple Tab Plugin.coffee
A simple Coffeescript snippet to implement tabs easily in your application
###
Disclaimer:
This gist is opinionated. It favors the usage of dashes over underscores.
http://stackoverflow.com/questions/7560813/why-are-dashes-preferred-for-css-selectors-html-attributes
License:
Free, Opensource, MIT
http://opensource.org/licenses/MIT
Usage:
Your HTML should be something like:

Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets


Trello CSS Guide

“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”

You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?