CSS selectors by no means stop to amaze me in how highly effective they are often in matching advanced patterns. Most of that flexibility is in mum or dad/little one/sibling relationships, very seldomly in worth matching. Think about my shock once I discovered that CSS permits matching attribute values regardless off case!
Including a {area}i to the attribute selector brackets will make the attribute worth search case insensitive:
/* case delicate, solely matches "instance" */
[class=example] {
background: pink;
}
/* case insensitive, matches "instance", "eXampLe", and so on. */
[class=example i] {
background: lightblue;
}
The use circumstances for this i flag are probably very restricted, particularly if this flag is knew data for you and also you’re used to a normal lower-case customary. A unfastened CSS classname customary could have and would proceed to result in issues, so use this case insensitivity flag sparingly!

7 Important JavaScript Capabilities
I bear in mind the early days of JavaScript the place you wanted a easy perform for nearly every thing as a result of the browser distributors applied options in a different way, and never simply edge options, primary options, like
addEventListenerandattachEvent. Occasions have modified however there are nonetheless a couple of features every developer ought to…
6 Issues You Didn’t Know About Firefox OS
Firefox OS is everywhere in the tech information and for good purpose: Mozilla’s lastly given internet builders the platform that they should create apps the best way they have been creating them for years — with CSS, HTML, and JavaScript. Firefox OS has been quickly bettering…

Create a Clearable TextBox with the Dojo Toolkit
Usability is a key function when creating person interfaces; it is all within the particulars. I used to be not too long ago utilizing my iPhone and it dawned on my how superior the “x” icon is in its enter components. No holding the delete key down. No urgent it a…

iPhone Checkboxes Utilizing MooTools
One of many candy person interface enhancements supplied by Apple’s iPhone is their checkbox-slider performance. Thomas Reynolds not too long ago launched a jQuery plugin that means that you can make your checkboxes appear like iPhone sliders. This is implement that performance utilizing the beloved…
