タグ

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

  • grunt-contribさえあればOK! - MOL

    世の中、Grunt0.4 が出たって持ちきりでやんス。 Grunt 0.4.0 released - Grunt: The JavaScript Task Runner 今までビルトインタスクだった下記はことごとく grunt-contrib-*シリーズと呼ばれるプラグインに置き換わってしまった。 concat grunt-contrib-concat plugin init stand-alone grunt-init utility lint grunt-contrib-jshint plugin min grunt-contrib-uglify plugin qunit grunt-contrib-qunit plugin server grunt-contrib-connect plugin test grunt-contrib-nodeunit plugin watch grun

    grunt-contribさえあればOK! - MOL
    akymrk
    akymrk 2013/03/08
    grunt-contrib-*系の全部載せ。npm i grunt-contribする。require "grunt-contrib"する。公式タスク全部入りに
  • Breaking down Amazon's mega dropdown

    The hover effects on Amazon’s big ‘ole “Shop by Department” mega dropdown are super fast. Look'it how quick each submenu fills in as your mouse moves down the list: It’s instant. I got nerd sniped by this. Most dropdown menus have to include a bit of a delay when activating submenus. Here’s an old Khan Academy dropdown as an example: See the delay? You need that, because otherwise when you try to

    Breaking down Amazon's mega dropdown
    akymrk
    akymrk 2013/03/08
    遅延のないdrop down menu実装解説。sub menuの左辺を底辺、main menuの項目にhoverしてるマウスカーソルを頂点とする三角形の内側にカーソルが有るか/notでsub menuのshow/offを切り替えることで使えるmenuになってる、と