본문 바로가기

전체 글216

svg 마우스 호버 툴팁 노출 Checkout A shopping cart icon with baguettes and broccoli in the cart. css-tricks.com/svg-title-vs-html-title-attribute/ SVG Title vs. HTML Title Attribute | CSS-Tricks You know the title attribute? I can do this: I'm a div with a `title` And now if I'm on a device with a mouse pointer css-tricks.com 2020. 11. 25.
[React] 요소에 style 속성 추가 const mystyles = { position: 'absolute', } as React.CSSProperties; not working stackoverflow.com/questions/46710747/type-string-is-not-assignable-to-type-inherit-initial-unset-fixe 2020. 11. 25.
사라진 stash 찾기 starkying.tistory.com/entry/restoring-git-stash실수로 clear한 Git Stash 복구하기퇴근을 얼마 남겨두지 않은 어느 오후, 예전에 작업하던 변경분을 다시 가져오려고 IntelliJ에서 "Unstash Changes"를 열었다. 일단 그 전에! 이미 merge되어 필요 없어진 오래된 stash들을 drop한다는 걸... starkying.tistory.com git fsck --no-reflog | awk '/dangling commit/ {print $3}' | xargs -L 1 git --no-pager show -s --format="%ci %H" | sort git stash apply [스태시명☆] 2020. 11. 16.
[sass] max, min 사용하기 #{"max(1vw, 20px)"} 이런 식으로 max나 min을 #{}로 감싸줘야 함 sass-lang.com/documentation/syntax/special-functions Sass: Special Functions CSS defines many functions, and most of them work just fine with Sass’s normal function syntax. They’re parsed as function calls, resolved to plain CSS functions, and compiled as-is to CSS. There are a few exceptions, though, which have special syntax sass-lang.com github.. 2020. 11. 16.
[error] 커밋 안됨 .git/hooks/pre-commit: line 2: ./node_modules/pre-commit/hook: No such file or directory .git/hooks디렉토리로 이동하여 pre-commit파일을 제거 하십시오. stackoverflow.com/questions/43933490/pre-commit-hook-no-such-file-or-directory pre-commit/hook: No such file or directory I get this error when I try to commit. OS - Latest OSX Git version - git version 2.11.0 (Apple Git-81) .git/hooks/pre-commit: line 2: ./node_modules/pre-commit/hook: No such file or directory stackoverflow.com 2020. 11. 12.
오래된 branch에서 master pull 받기 git branch git checkout master git pull upstream master 마스터 브랜치에서 최신 파일을 업데이트 한 뒤 업데이트하고 싶은 브랜치에서 rebase master를 한 뒤 마스터 브랜치에서 merge 브랜치명 -ff git checkout my-branch git rebase master git checkout master git merge my-branch --ff 그러나 해결되지 않았습니다 나는 이문제를 다시 다룰 것이다 rebase 2020. 11. 12.
특정 파일만 pull 받기 git checkout 브랜치명 -- 파일명 브랜치명 뒤에 -- 붙이고 파일명 쓰면 된다. 2020. 11. 12.
input 자동완성 css 수정 자동완성하면 배경색, 글자색 등이 바뀐다. 이를 css로 잡을 수 있다. input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { -webkit-box-shadow: 0 0 0 30px white inset !important; } input뿐 아니라 textarea, select도 가능 www.codegrepper.com/code-examples/whatever/input+internal+autofill+selected+css css-tricks.com/snippets/css/change-autocomplete-styles-webkit-browsers/ .. 2020. 11. 12.
콘솔에서 Breakpoint 설정 2020. 11. 12.