반응형

IT/CSS

css 원하는 부분 선택자

#1,4,7,10.... .boards_cont ul li:nth-child(-3n + 4 ) #4,7,10.... .boards_cont ul li:nth-child(3n + 4 ) #홀수선택 .boards_cont ul li:nth-child(even) #짝수선택 .boards_cont ul li:nth-child(odd) .boards_cont ul li:nth-child(2n) #4번째 부터 .boards_cont ul li:nth-child(n+4) #1번째 부터 19번째까지 .boards_cont ul li:nth-child(-n+18) #4번째 부터 19번째까지 .boards_cont ul li:nth-child(n+4):nth-child(-n+19) #2의 배수 .boards_cont ul..

2019.12.11 게시됨

IT/CSS

CSS로 문자열 자르기 - 한 줄 /여러 줄

#한줄 일때 CSS is a language that describes the style of an HTML document CSS is a language that describes the style of an HTML document #출력 #여러줄 일때 CSS is a language that describes the style of an HTML document. CSS describes how HTML elements should be displayed. This tutorial will teach you CSS from basic to advanced. CSS is a language that describes the style of an HTML document. CSS describes h..

2019.12.11 게시됨

반응형