Dropdown list styling (<select>). Because styling dropdown lists for browsers is pretty much impossible! This plugin transforms the <select> tag to <dl>, <dt> and <dd> tags, which are more stylable.
$(".js-dropdown").fbDropdowner();
Don't activate the plugin for mobile devices. Activate only for desktop devices.
- jQuery (tested on jQuery v3.1.1)
- tocca (tested on tocca v2.0.0) to detect touch events on iPad/iPod/iPhone, because there is :hover styles on the dropdown, and the user has to tap 2 times if this plugin isn't there.
This plugin is heavily inspired by the idea showed here.