-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2023년 5월 6일 결산과 개발이야기 #10
Comments
I18N, i18next 사용법i18n?
그래서 어떻게 쓰는데? : 이론
그래서 어떻게.... : 실전import { useTranslation } from 'react-i18next';
...
const { t, i18n } = useTranslation(); // 이름 꼭 맞춰주기!
...
<p1>{t(파일:키}</p1> 로 정리했어요!! 파일에 저장된 단어를 키로 가져오면 된답니다!
|
5월 5일 Scss 변경사항 정리
뭐가 바뀌었나요?
어떻게 바뀐건가요?Root
height:100vh;
width: 100vw; // 꽉채워주기. visual width
Register
$mobiile: 350px; // scss기능이에요. 맨앞에 $붙히면 변수 쓸 수 있어요!
@media (max-width:$mobiile) {
height:auto;
}
@media (min-width:calc($mobiile + 1px)) {
height:min(95vw,$mobiile); // 화면이 크면... 정사각형으로!
}
바뀐건 아니지만 볼만한거button:hover {
button:focus,
button:focus-visible {
prefers-color-scheme: light
From other project...Animation
Animation in web
.stack:hover{ // 호버가 되면....
transform: scale(1.5);
animation-name: stack_onhover; // 발동할 keygream 이름
animation-duration: 0.5s; // 발동할 시간
} //일단 이런 클래스를 넣죠.
@keyframes stack_onhover
{
from{
transform: scale(1.0); // 크기가 0인 상태에서~
}
to{
transform: scale(1.5); // 크기가 커지는 상태로!
}
} //
.stack:not(:hover){
transform: scale(1);
animation-name: stack_offhover; // 얘를 한번 생각해보세요!
animation-duration: 0.5s;
}
// 일반적인 클래스에 넣으면, 보통은 클래스가 등장할 때 애니메이션이 발동되요!
개인적인 생각?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
이번 주에 개발한 것과 새로운 일
서로님
개발한 것
새로운 일
민규님
개발한 것
새로운 일
저
개발한 것
새로운 일
있었던 이슈
진행된 구상
Kafka의 Pub-Sub모델 활용 방안
잡담
The text was updated successfully, but these errors were encountered: