logo

David's Blog

    Page 4 of 4

  • 在android上创建chrome app Feb 1

    Why not just using phonegap to build the mobile app

    Because setup phonegap toolchain takes more time, while cca is much faster. Further more, it can make use of chrome api.

    installation

    sudo npm install -g cca

    create project

    cca create test –android

    Read More...
  • CSS RESET Oct 15

    CSS RESET


    body

    不同的浏览器对HTML的默认样式有着不同的渲染方式,最简单的方式就 是用CSS重新对HTML设置一个统一的样式,即CSS RESET.

    css reset

    
    body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,
    input,textarea,p,blockquote,th,td{margin:0;padding:0;}   
    
    table{border-collapse:collapse
    Read More...
  • Zyncro API Console Oct 10

    为什么要做这个Zyncro Console

    Zyncro已经有一个API Console,但是再做一个可以更好地体验其API的功能,而且也不难,最重要是自己做比较有趣。

    Zyncro API Console

    Read More...
  • Example Article Jan 1

    This is a Heading Title

    This is smaller title

    1. go home
    2. cook dinner
    • this is a option
    • option 2 Thisssss is an example article. You probably want to delete it and write your own articles!
    def my_cool_method(message)
      puts message
      return nil
    
    Read More...