HTML5 Canvas Color Picker

This code is to use HTML5 to create a page color Picker. First draw a picture in the Canvas, and then we …

jQuery API – :eq() Selector

Description: Select the element at index n within the matched set.index: Zero-based index of the element to match.

jQuery API – :nth-child() Selector

Description: Selects all elements that are the nth-child of their parent.index: The index of each child to match, starting with 1, the string even or odd, or an equation ( eg. :nth-child(even), :nth-child(4n) )