除第一个孩子和最后一个孩子以外的CSSselect器
我正在做一个非常先进的网站。 我的问题:是否可以select除了:first-child和:last-child :first-child孩子以外的所有其他:last-child ? 我知道有一个:not()select器,但不能在多于一个的圆括号中工作。 这是我的: 
 #navigation ul li:not(:first-child, :last-child) { background: url(images/UISegmentBarButtonmiddle@2x.png); background-size: contain; } 
	
 试试#navigation ul li:not(:first-child):not(:last-child) 。 
肯定会起作用,你只需要使用两个“不”select器。
 #navigation ul li:not(:first-child):not(:last-child) { 
在第一个之后,它会继续下去,说“不是第一个孩子”,“不是最后一个孩子”。