Most browsers do not allow images to be cropped using CSS3’s
removeClass utility will only work if the classes you want to remove are listed in the same order as the target element’s
className property. Here’s a new
removeClasses utility that fixes this shortcoming. A framework-neutral version is also provided.
I’m currently working on a new quiz system at work, and decided I’d incorporate Filament’s wonderful stylized checkboxes and radio buttons into my project, which meant it was time to roll up my sleeves and code me some Moo.
Here’s a quick rundown on the dos and don’ts.