Zhongde Liu

This is my personal "Clipboard" of web development stuff I come across


Leave a comment

Note: console.log has latency

Note to myself:

console.log has some amount of latency. This means the result of the e.g. object you log maybe the status two lines down the code….

Reasons may be:

  • Chrome dev channel version
  • to be logged object was not ‘small’ – (20 elements array)
Advertisements


1 Comment

Reference: Zen Coding Syntax

For HTML:
http://code.google.com/p/zen-coding/wiki/ZenHTMLSelectorsEn

Example:
div#content.wrapper>h1+p*2

Result:
<div id="content" class="wrapper>
<h1></h1>
<p></p>
<p></p>
</div>

 

For CSS:
http://code.google.com/p/zen-coding/wiki/ZenCSSPropertiesEn

Cheatsheet (PDF):
http://code.google.com/p/zen-coding/downloads/detail?name=ZenCodingCheatSheet.pdf


1 Comment

Inspiration: Showcase/Collection of “Single page scroll-Sites” in automotives