TIL - 02 : CSS
in Study Log on Today I learned

CSS
동일한 이름의 Class 선택자 지정 방법
&:first-child,&:last-child,&nth-child(n)even,odd,2n-1
p span{}부모 P 안,p>spanp의 바로 밑자식,p+spanp바로 다음으로 오는 span특정 선택자만 통제 할 수 있는 방법
<input type="text" require placeholder="edit">input:require{}
input[placeholder=”edit”]{}
State 가상 선택자
&:active, &:hover, &:focus, &:visited등
CSS 전역 변수 설정
:root { }변수를 지정하여 사용예)
:root { --font-color: blue }, h1 { color: var(–font-color) }`
transition개념,transform개념애니메이션
@keyframe 이름 { from { } to { } }
@media screen and ( ) { }미디어 쿼리