CSS/learned_it_today
input 눌렀을 때 아름답지 않은 파란 선 없애기 {outline:none, box-shadow:none} & active, focus 됐을 때 border
윰윰로그
2020. 10. 19. 11:47
input 눌렀을 때 생기는 기본 파란선 없애고 싶을 때,
input{
outline:none;
box-shadow:none;
}
input창을 클릭하는 그 찰나에 색 바꾸고 싶을 때
input:active{
border-color: ;
}
focus 됐을 때 border 색 바꾸고 싶을 때
input:focus{
bordr-color:#fff;
}