this line of code is for the navigation bar of Apple.com
#globalheader #globalnav[class*="nosearch"] { width:100%; } Somebody know what that asterisk after class means there?
this line of code is for the navigation bar of Apple.com
#globalheader #globalnav[class*="nosearch"] { width:100%; } Somebody know what that asterisk after class means there?
#globalnav[class*="nosearch"] means: class contains "nosearch"
#globalnav[class^="nosearch"] means: class starts with "nosearch"
#globalnav[class$="nosearch"] means: class ends with "nosearch"
Reference: http://reference.sitepoint.com/css/css3attributeselectors
#globalnav[class*="nosearch"] is the same as #globalnav.nosearch. Isn't it?nosearch in its name, such as boxnosearch and nosearchbutton. The second would include only the class nosearch and nothing else.