On Tue, Mar 29, 2016 at 6:11 AM, AndyHC jarndice@gmail.com wrote:
Hi,
don't) and (for more understanding) on to CSS Selector.... Over the years I have come to accept the OO concept (with the mental reservation that libraries of mutable functions were easier to understand and probably much more efficient). One of the reasons I accepted OO was the simpler interface and less obfustication, even at the cost of efficiency. But this makes APL look intuitive:- http://www.w3schools.com/cssref/css_selectors.asp you have to remember a dozen or so single character prefixes and what they do?
Yes.
Just as with other languages, where you learn containership, inheritance, operator precedence, there is a rich collection, and an 80/20 rule of 80% of the time you can get by knowing 20% of the options, and looking up the rest when you need to.
1. # designates the unique ID of a single item. 2. . specifies a class of items 3. element name (like p or UL) restricts the style assignment to a single element type. 4. Two of these in a row specifies elements within elements, i.e., 5. ul.picklist li specifies listitems contained within an unordered list of class picklist 6. a comma-separated list of selectors means the styles apply to each.
For reference, my mentors who know a lot more about this than me generally recommend against using the site you've cited, and suggest reference.sitepoint.com or dev.mozilla.org for better and more up-to-date info.