Skip to content

Instantly share code, notes, and snippets.

View Bertrand's full-sized avatar

Bertrand Guiheneuf Bertrand

View GitHub Profile

CSS

  • What is CSS selector specificity and how does it work?
  • What's the difference between a relative, fixed, absolute and statically positioned element?
  • Can you explain the difference between px, em and rem as they relate to font sizing?

JS Questions

@Bertrand
Bertrand / Dictionary.js
Last active December 24, 2015 09:49 — forked from ngs/Dictionary.js
var Dictionary;
if (!Dictionary) {
Dictionary = {};
}
(function () {
'use strict';
function f(n) {
// Format integers to have at least two digits.