Trans

NPOやソーシャルビジネスの創業・経営・マネジメント

Google Page Creatorのテンプレートがすごすぎる件

ちょっと昔の話題になってしまうが、そういやGoogle Page Creatorなんてものがリリースされて、すぐに使ってみようと思っていたのだが、なかなか登録できてなくて、ほったらかしにしていた。


で、それを使ってみた。


正直、吐き出すソースが一流すぎる。HTML自体は、4.01のTransitionalながら、CSSのhacksまでがほぼ完全に適用されている。ソースは、例えば、

  /* 
   * IE5/Win-specific CSS -ensures #container wraps all content on window resize
   */

  @media tty {
   i{content:"\";/*" "*/}} * html #container { height: 1%; } /*";}
  }/* */
  /* Styling for editable elements. Eventually, this will be part of the style. */
  .editable {
    border: 1px dashed blue;
  }

こんな感じ。


このコードの書き方、どこかで見たことあるなーと思っていたら、stopdesignの中の人っぽい。このへんとか。

/* IE5/Win Only Styles
   Uses the Mid Pass Filter:
   http://tantek.com/CSS/Examples/midpass.html
----------------------------------------------- */
@media tty {
 i{content:"\";/*" "*/}} @import url('ie5win.css'); /*";}
}/* */

いやいや、こだわりすぎでしょ、Googleも。