1.0.0 • Published 3 years ago
fulfil-modal-vanilla-js v1.0.0
Modal Vanilla.js
Shu css klasslar ulansa to'g'ri ishlab berishi mumkin
- CSS:
.modal-wrapper {
display: none;
width: 100%;
height: 100vh;
background-color: rgba(0, 0, 0, .5);
position: fixed;
top: 0;
left: 0;
justify-content: center;
align-items: center;
}
.modal {
background: #fff;
padding: 10px;
width: 30%;
display: flex;
justify-content: space-between;
}
TG: @fulfiledu
1.0.0
3 years ago