Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="popup">
- <button id="close">×</button>
- <div data-weavely-form="8f8b93dd-94cf-4dff-8a21-cccbef407f44" data-weavely-mode="embed" style="height:100%;width:100%"></div>
- </div>
- <script>
- setTimeout(() => {
- document.getElementById('popup').style.display = 'block';
- }, 1000);
- document.getElementById('close').onclick = () => {
- document.getElementById('popup').style.display = 'none';
- };
- </script>
- <style>
- #popup {
- display: none;
- position: fixed;
- bottom: 20px;
- right: 20px;
- width: 400px;
- height: 500px;
- border-radius: 8px;
- overflow: hidden;
- box-shadow: 0 4px 12px rgba(0,0,0,0.15);
- z-index: 1000;
- }
- #close {
- position: absolute;
- top: 10px;
- right: 10px;
- background: none;
- border: none;
- font-size: 24px;
- cursor: pointer;
- color: #666;
- }
- @media (max-width: 768px) {
- #popup {
- width: 90%;
- height: 70%;
- bottom: 50%;
- right: 50%;
- transform: translate(50%, 50%);
- }
- #close {
- font-size: 32px;
- padding: 10px;
- }
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment