0
클릭 이벤트에서 화면의 오른쪽에서 나타나는 오버레이에 대한 CSS 전환을 만들었습니다. 그것은 어디서나 처음 클릭 할 때 화면을 가로 질러 처음으로 쏘는 것을 제외하면 작동합니다. 그것은 초기 위치가 오른쪽으로 화면이 꺼져있다 :CSS가 초기 상태 버그로 바꿉니다.
.form_div {
background-color: white;
width: 25%;
position: fixed;
top: 0;
right: 150%;
height: 100%;
display: block;
z-index: 9999;
padding: 2em;
opacity: 1;
}
이 보이게 전환은 다음과 같습니다 어디 버그에서 나타나고있다
.show-form-div {
left:71%;
-webkit-transition:all 0.3s ease-in-out;
-moz-transition:all 0.3s ease-in-out;
-o-transition:all 0.3s ease-in-out;
transition:all 0.3s ease-in-out;
}
?