본문 바로가기

46

[Js] pop(), shift(), ,push(), unshift(), splice() pop - 마지막 것 뽑기 (뽑은 배열은 사라짐) shift - 처음 것 뽑기 (뽑은 배열은 사라짐) push - 마지막에 추가 unshift - 처음에 추가 splice(위치, 개수) - 위치로부터 개수만큼 배열에서 뽑음 (뽑은 배열은 사라짐) 1. pop( ) 결과 2. shift( ) 결과 3. unshift( ) 결과 4. push( ) 결과 5. splice(위치, 개수) 결과 2020. 3. 8.
[css] scroll bar 디자인 하기 / overflow 속성 scroll bar 디자인 ::-webkit-scrollbar { width: 5.2px; } /* 스크롤 바 */ ::-webkit-scrollbar-track { background-color:#fff; } /* 스크롤 바 밑의 배경 */ ::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; } /* 실질적 스크롤 바 */ ::-webkit-scrollbar-thumb:hover { background: #404040; } /* 실질적 스크롤 바 위에 마우스를 올려다 둘 때 */ ::-webkit-scrollbar-thumb:active { background: #808080; } /* 실질적 스크롤 바를 클릭할 때 */ ::-webk.. 2020. 3. 3.
[font] font 손쉽게 변환해주는 사이트 https://transfonter.org/ https://onlinefontconverter.com/여기 눌러서 바로 변환가능! Online @font-face generator The @font-face CSS rule allows web developers to specify online fonts to display text on their web pages. By allowing authors to provide their own fonts, @font-face eliminates the need to depend on the limited number of fonts users have installed on their transfonter.org eot , woff 변환 2019. 12. 20.
[Js] input[type=file], reset 2019. 12. 20.