Skip to content

Instantly share code, notes, and snippets.

View teybannerman's full-sized avatar

Tey Bannerman teybannerman

  • McKinsey & Company
  • London
View GitHub Profile
@teybannerman
teybannerman / .block
Last active May 26, 2020 20:51
Radial Bar Chart
license: mit
@teybannerman
teybannerman / UX-&-UI-Design-Resources.md
Last active April 10, 2024 09:41
UX & UI Design Resources

UX & UI Design Resources on the Web

Index

  1. Online Prototyping
  2. User Testing & Feedback
  3. UI Design Patterns
  4. Colours & Gradients
  5. User & Profile Photos
  6. Stock Photography
  7. Icons
@teybannerman
teybannerman / _link_states.scss
Created April 8, 2014 13:51 — forked from dalgard/_link_states.scss
Sass mixin for quickly setting link states
@teybannerman
teybannerman / Get Total Shares (returns JSON)
Last active August 22, 2018 00:01
AddThis Public sharing endpoints & API URL to retrieve total share count for any given URL
http://api-public.addthis.com/url/shares.json?url=http%3A%2F%2Fwww.twitter.com
@teybannerman
teybannerman / 1. Principles
Last active August 29, 2015 13:57
Econsultancy new build: General SASS & CSS Rules
Principle 1: Classes as selectors, not ids or element tags.
CSS classes are best suited to keep the code modular, easy to change and has additional
benefits, such as being able to mix styles together. If we've done a good job of building up
our styles, it should be very fast to prototype and build out new layouts.
The main risk using classes as selectors is the possibility of conflicts if two different
classes get the same name. This is where BEM comes in handy with prefixes and naming conventions
descriptive enough to prevent this from happening.