🌐
CodePen
codepen.io › tag › popup
Pens tagged 'popup' on CodePen
CodePen doesn't work very well without JavaScript · We're all for progressive enhancement, but CodePen is a bit unique in that it's all about writing and showing front end code, including JavaScript. It's required to use most of the features of CodePen · Need to know how to enable it?
🌐
CodePen
codepen.io › epdsn › pen › xqLpMz
Popup contact form
<h1>Contact us Today!</h1> <button id="btnOpenForm">Open Form</button> <div class="form-popup-bg"> <div class="form-container"> <button id="btnCloseForm" class="close-button">X</button> <h1>Contact Us</h1> <p>For more information.
🌐
CodePen
codepen.io › codot › pen › BorNdz
Pop Up Login Form
<!--Trigger--> <a class="login-trigger" href="#" data-target="#login" data-toggle="modal">Login</a> <div id="login" class="modal fade" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <button data-dismiss="modal" class="close">&times;</button> <h4>Login</h4> <form> <input type="text" name="username" class="username form-control" placeholder="Username"/> <input type="password" name="password" class="password form-control" placeholder="password"/> <input class="btn login" type="submit" value="Login" /> </form> </div> </div> </div> </div>
🌐
CodePen
codepen.io › softcodeon › pen › wvrYGvN
Popup Subscription Form using CSS & Javascript
Format HTML · View Compiled HTML · Analyze HTML · Maximize HTML Editor · Minimize HTML Editor · Fold All · Unfold All · <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <div class="container"> <a class="button popup-button" href="#">Open Model!</a> </div> <div class="wrapper"> <div class="popup-box"> <h2>SIGN UP & GET 10% OFF</h2> <p>Subscribe to our newsletters now and stay up-to-date with new collections.</p> <a class="close-button popup-close" href="#">x</a><div class="form-group"> <form method="post"> <input type="email" name="useremail-id" required placeholder="Please Enter your email"> <button type="submit" id="subscribe">SUBSCRIBE</button> </form> </div> </div> </div> !
🌐
CodePen
codepen.io › fghty › pen › zYZLrgg
Popup Login form
<!DOCTYPE html> <html lang="en"> <head> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <style> .modal-box{ font-family: 'Poppins', sans-serif; } .show-modal{ co
🌐
CodePen
codepen.io › FinalTriumph › pen › zNByqm
Popup Form Example
Format CSS · View Compiled CSS · Analyze CSS · Maximize CSS Editor · Minimize CSS Editor · Fold All · Unfold All · body { text-align: center; } button { width: 100px; height: 30px; } #popup { display: none; width: 100%; height: 100%; top: 0; left: 0; position: fixed; background-color: rgba(50, 50, 50, 0.9); } #form { position: absolute; background-color: #f5f5f5; border: 1px solid #212121; border-radius: 2px; padding: 20px; width: 300px; left: 50%; top: 10%; margin-left: -150px; } input { width: 250px; margin-bottom: 20px; } #close { position: absolute; font-weight: bold; margin-left: 139px; margin-top: -19px; width: 30px; height: 27px; } p1 { float: left; margin-left: 30px; } .cont { background-color: #e3f2fd; border-radius: 2px; padding: 20px 50px; width: 350px; margin: 10px auto 10px auto; text-align: left; overflow: auto; } #add { margin: 10px; } !
🌐
CodePen
codepen.io › nmt99 › pen › qQjQxx
Popup - Form- Register User
</p> </form> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> <button type="submit" class="btn btn-primary bt-mdl"> Cadastrar <i class="fa fa-paper-plane"></i> </button> </div> </div> </div> </div> <!-- <div class="btn f-right" id="fox-popup-triger"> <p>Assine Já</p> </div> <div class="fox-popup-wrap"> <div class="fox-close-btn"> <i class="fa fa-times"></i> </div> <div class="fox-form-wrap"> <form> <h3 class="title">Pré-Cadastro</h3> <hr> <div class="col col-md-6"> <div class="form-group row"> <label for="user-name">Nome</l
🌐
CodePen
codepen.io › timmmybee › pen › zZYNER
Pop-Up Form Example
May 29, 2024 - <html> <body> <div class="container"> <h1>Pop-up Form</h2> <button id="myBtn" class="btn btn-primary">Open Form</button> <!-- Trigger/Open The Modal --> </div> <!-- The Modal --> <div id="myModal" class="modal"> <!-- Modal content --> <div class="modal-content"> <span class="close">&times;</span> <div class="email text-center"> <form action="mailto:someone@example.com" method="post" enctype="text/plain"> Name:<br> <input type="text" name="name"><br> E-mail:<br> <input type="text" name="mail"><br> Comment:<br> <input type="text" name="comment" size="50"><br><br> <input class="btn btn-success" type="submit" value="Send"> <input class="btn btn-danger" type="reset" value="Reset"> </form> </div> </div> </div> </body>
🌐
CodePen
codepen.io › eilufoye › pen › RZEvMz
Pop-up Form
<!DOCTYPE html> <html > <head> <meta charset="UTF-8"> <title>Responsive Popup Contact Form</title> <link rel="stylesheet" href="css/style.css"> </head> <body> <!-- This is the Popup Contact Form we use at: http://notnatural.co Examples for submitting the form data can be found at: https://bit.ly/responsive-popup-contact-form Popup Contact Form based on: https://codepen.io/jhnwlsn/pen/vulgn by John Wilson https://codyhouse.co/gem/simple-confirmation-popup/ --> <div class="contact-container"> <h2>Feel free to get in touch.</h2> <ul class="actions"> <li><a href="#" id="contact" class="button big"
🌐
CodePen
codepen.io › thebeloved88 › pen › zvrzoE
Modal Popup with Login/Register Forms!
/*Title: Cool Modal Popup Sign In/Out Form*/ $(function() { //defining all needed variables var $overlay = $('.overlay'); var $mainPopUp = $('.main-popup') var $signIn = $('#sign-in'); var $register = $('#register'); var $formSignIn = $('form.sign-in'); var $formRegister = $('form.register'); var $firstChild = $('nav ul li:first-child'); var $secondChild = $('nav ul li:nth-child(2)'); var $thirdChild = $('nav ul li:nth-child(3)'); //defining function to create underline initial state on document load function initialState() { $('.underline').css({ "width": $firstChild.width(), "left": $firstCh
Find elsewhere
🌐
CodePen
codepen.io › adaptabiz › pen › bGBBEWN
create a popup form with CSS and JavaScript.
body {font-family: Arial, Helvetica, sans-serif;} * {box-sizing: border-box;} /* Button used to open the contact form - fixed at the bottom of the page */ .open-button { background-color: #555; color: white; padding: 16px 20px; border: none; cursor: pointer; opacity: 0.8; position: fixed; bottom: 23px; right: 28px; width: 280px; } /* The popup form - hidden by default */ .form-popup { display: none; position: fixed; bottom: 0; right: 15px; border: 3px solid #f1f1f1; z-index: 9; } /* Add styles to the form container */ .form-container { max-width: 300px; padding: 10px; background-color: white;
🌐
CodePen
codepen.io › bekqs › pen › xqpRmJ
jQuery Pop-up Contact Form
<button type="button" class="btn" id="c-btn">Open Contact Form</button> <div id="contact"> <form action="#"> <ul> <h1>Contact</h1> <li> <input type="text" name="name" id="name" placeholder="&#xf2c0; Full name"> <input type="email" name="email" id="email" placeholder="&#xf003; Email"> </li> <li> <textarea name="message" id="message" placeholder="&#xf040; Your message"></textarea> </li> <li> <input type="submit" value="Send message" class="btn" id="submit"> </li> </ul> </form> </div>
🌐
CodePen
codepen.io › 0neLife › pen › jKPMwE
Responsive Popup Contact Form with JQuery
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous"> <h1>Take a chance</h1> <h2>"Because you will never know how absolutely perfect something could turn out to be"</h2> <button type="button" class="main-btn-rect popup-btn" data-popup="popup-reg">Click me</button> <div id="popup-reg" class="popup"> <div class="popup-content"> <div class="event-header"> <h6>Don't be shy, say hi!</h6> </div> <form id="send" class="send-form"> <div class="form-group"> <inpu
🌐
CodePen
codepen.io › dsholmes › pen › pyeeVQ
Responsive Popup Contact Form
<!-- This is the Popup Contact Form we use at: http://notnatural.co Examples for submitting the form data can be found at: https://bit.ly/responsive-popup-contact-form Popup Contact Form based on: https://codepen.io/jhnwlsn/pen/vulgn by John Wilson https://codyhouse.co/gem/simple-confirmation-popup/ --> <div class="contact-container"> <h2>Feel free to get in touch.</h2> <ul class="actions"> <li><a href="#" id="contact" class="button big">Contact Us</a></li> </ul> </div> <div class="cd-popup contact" role="alert"> <form name="contactform" id="contactform" class="contact-form"> <div class="cd-po
🌐
CodePen
codepen.io › TechTran › pen › VRVooO
Popup form on w3schools.com
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body {font-family: Arial, Helvetica, sans-serif;} * {box-sizing: border-box;} /* Button used to open the contact form - fixed at the bottom of the page */ .open-button { background-color: #555; color: white; padding: 16px 20px; border: none; cursor: pointer; opacity: 0.8; position: fixed; bottom: 23px; right: 28px; width: 280px; } /* The popup form - hidden by default */ .form-popup { display: none; position: fixed; bottom: 0; right: 15px; border: 3px solid #f1f1f1; z-index: 9; } /* Add s
🌐
CodePen
codepen.io › RuneStenstroem › pen › ObwmXZ
Fixed footer popup form
A small pen for creating a fixed footer popup to use for forms like contact, chat etc....
🌐
CodePen
codepen.io › DiegoVC › pen › xxbxxzj
Popup Login and Contact Form
Format HTML · View Compiled HTML · Analyze HTML · Maximize HTML Editor · Minimize HTML Editor · Fold All · Unfold All · <div id="mainform"> <h2>jQuery Popup Form Example</h2> <!-- Required div starts here --> <div class="form" id="popup"> <b>1.Onload Popup Login Form</b><br/><hr/> <span>Wait for 3 second.Login Popup form Will appears.</span><br/><br/><br/> <b>2.Onclick Popup Contact Form</b><hr/> <p id="onclick">Popup</p> <br/> </div> <!-- Right side div --> <div id="formget"><a href=https://www.formget.com/app><img src="images/formget.jpg" alt="Online Form Builder"/></a> </div> </div>
🌐
CodePen
codepen.io › campk12Vivaan › pen › eYdJYeJ
form popup by html, css and js
.openbtn { padding:12px; border:none; background:yellow; position:fixed; bottom:10px; right:15px; } h1 { font-family:arial,sans-serif; } .form-popup { position:fixed; bottom:0; right:15px; border:3px solid #f1f1f1; z-index:9; display:none; } .form-container { width:300px; padding:20px; background:#fff; } .form-conatianer input[type==text], input[type=password] { padding:12px; margin:5px 0 25px; } .form-container .btn { background-color:#4CAF50; color:#fff; padding:16px 12px; border:none; width:100%; margin:10px 0px ; } .form-container .btn-cancel { width:100%; padding:16px 12px; background:red !important; border:none; color:white; } .close { background:lightgrey; padding:12px; right:2px; top:-2.5px; position:absolute; border-radius:50%; } !
🌐
CodePen
codepen.io › imprakash › pen › GgNMXO
Pure css popup box
Note: your code becomes un-folded during formatting. ... Visit your global Editor Settings. ... <h1>Popup/Modal Windows without JavaScript</h1> <div class="box"> <a class="button" href="#popup1">Let me Pop up</a> </div> <div id="popup1" class="overlay"> <div class="popup"> <h2>Here i am</h2> <a class="close" href="#">&times;</a> <div class="content"> Thank to pop me out of that button, but now i'm done so you can close this window.
🌐
CodePen
codepen.io › safwendr › pen › QWKpRQP
Popup Login Form Design in HTML & CSS
Note: your code becomes un-folded during formatting. ... Visit your global Editor Settings. ... <!DOCTYPE html> <!-- Created By CodingNepal --> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <!-- Somehow I got an error, so I comment the title, just uncomment to show --> <!-- <title>Popup Login Form Design | CodingNepal</title> --> <link rel="stylesheet" href="style.css"> <script src="https://kit.fontawesome.com/a076d05399.js"></script> </head> <body> <div class="center"> <input type="checkbox" id="show"> <label for="show" class="show-btn">View Form</label> <div class="container"> <la