タグ

2013年2月18日のブックマーク (3件)

  • NIR for Retina Images

    擬似要素と content プロパティを利用した画像置換テクニックの NIR (Nash Image replacement) と、いわゆる Retina ディスプレイ向けの高解像度画像 (sprites@2x.png みたいなやつ) を組み合わせる方法について。まずは NIR についておさらい: .nir { overflow: hidden; width: 160px; height: 50px; *background: url(sprites.png) no-repeat 0 -25px; *text-indent: -9999px; } .nir:before { content: url(sprites.png); display: inline-block; font-size: 0; line-height: 0; margin-left: 0; margin-top: -

    NIR for Retina Images
    yhmt
    yhmt 2013/02/18
    :before { display: block; width: xx; height: yy; background: url("hoge.png") no-repeat 0 0; @include background-size(xx / 2, yy / 2); content: ""; } とかじゃダメなんですかね
  • ヤフー株式会社とグリー株式会社 、共同出資による新会社を設立

    ヤフー株式会社とグリー株式会社 、共同出資による新会社を設立 スマートフォン向けソーシャルゲームを開発、提供 ヤフー株式会社(社:東京都港区、代表取締役社長:宮坂学、以下「Yahoo! JAPAN」)とグリー株式会社(社:東京都港区、代表取締役社長:田中良和、以下「グリー」)は、スマートフォン向けソーシャルゲームを共同開発、運営する新会社「ジクシーズ株式会社(仮称)」(社:東京都港区、代表取締役社長:井坂友之)を、共同出資により設立する(※)ことを決定しましたのでお知らせします。 日最大級のインターネットサービス「Yahoo! JAPAN」を運営するYahoo! JAPANと、ソーシャル・ネットワーキング・サービス(SNS)「GREE」を提供するグリーは、2012年11月に包括的業務提携に関する契約を締結し、相互の強みを活かした新たなエンターテインメントビジネスの創出を目指して、ス

    ヤフー株式会社とグリー株式会社 、共同出資による新会社を設立
    yhmt
    yhmt 2013/02/18
    ジクシーズ
  • Tincrを使って、Chrome Developer Toolsでの変更をソースコードに反映する

    --> tree app app ├── 404.html ├── favicon.ico ├── index.html ├── robots.txt ├── scripts │ ├── main.js │ └── vendor │ ├── jquery.min.js │ └── modernizr.min.js └── styles └── main.css Chrome Developer ToolsのTincrタブでProject Typeを選択、Http Serverの場合はルートディレクトリの設定のみ。 Enable Loggingにチェックを入れておくとConsoleタブにログが出てくる。 Content for url http://localhost:8000/scripts/main.js matches local file /Users/tnishibayashi/d

    Tincrを使って、Chrome Developer Toolsでの変更をソースコードに反映する