html popup1 html css로 팝업 레이어(모달) 만들기 웹 서비스를 개발하다보면 필수적으로 팝업 레이어를 사용하게 되는데요. 아래와 같은 팝업 레이어를 다른 라이브러리나 프레임워크를 사용하지 않고 html와 pure css로 만들어보겠습니다. html과 css 는 아래와 같습니다. index.html 레이어 팝업 레이어 main.css .layer { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, 0.6); justify-content: center; align-items: center; } .layer_content { width: 200px; height: 300px; background-color: #fff; } 레이어.. 2021. 1. 12. 이전 1 다음