totpunk: responsive web design + js

Sort by: Date / Title / URL

  1. Enquire.js is a JavaScript library I created for dealing with media queries in JavaScript.
  2. Lösung die auch ohne JavaScript funktioniert, aber richtig übel
  3. A com­mon prob­lem in respon­sive design is the link­ing of CSS3’s media queries and JavaScript. For instance on a larger screen we can restyle, but it might be use­ful to use JavaScript and pull in dif­fer­ent con­tent at the same time, e.g. higher qual­ity images. With CSS tran­si­tions, specif­i­cally their tran­si­tio­nEnd events, we can marry up our media queries and JavaScript per­fectly, with­out resort­ing to win­dow resize events.

First / Previous / Next / Last / Page 1 of 1