Skip to content

Instantly share code, notes, and snippets.

@ituki
Created July 18, 2013 23:31
Show Gist options
  • Save ituki/6033970 to your computer and use it in GitHub Desktop.
Save ituki/6033970 to your computer and use it in GitHub Desktop.
「CSS3でセレクトボックスをカスタマイズ」のスマホのバグ(?)を直す ref: http://qiita.com/ituki_b/items/5aec099d96874bd79bbc
div {
〜中略〜
z-index: -1; //追加
}
select {
position: absolute;
zoom: 1.1;
/*z-index: 2; はずす*/
opacity: 0;
}
$("select").change(function(){
〜中略〜
}).trigger("change");
$("select").bind('change',function () {
〜中略〜
}).trigger("change");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment