html5 + css3 code jquery test ul{ overflow: hidden;} li{ list-style: none; float:left; padding: 15px; } li:first-child{ border-radius: 10px 0 0 10px;} li:last-child{ border-radius: 0 10px 10px 0;} li:nth-child(2n){ background-color: #ff0003;} li:nth-child(2n+1){ background-color: #800000;} first second third fourth ...
원문 링크 : 일반 구조 선택자