Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"feedback form"
Bootstrap 3.0.0 Snippet by
vicky04666
3.0.0
jQuery
Preview
HTML
CSS
JS
View Full Screen
Forked from
Fork
Fork this
Parent
1.5K
 
0 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Button trigger modal --> <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">Feedback</button> <!-- Modal --> <div class="modal fade bs-example-modal-lg" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog modal-lg" role="document"> <div class="modal-content"> <div class="modal-body"> <div class="feedback_container"> <div class="rating_div"> <h4 class="title_feedback">Please Rate Our Website</h4> <div class="smiley"> <span class="open"><img src="http://res.cloudinary.com/dxssokt4h/image/upload/v1507184410/dead_tminl7.png" /></span> <span class="close"><img src="http://res.cloudinary.com/dxssokt4h/image/upload/v1507184409/dead-active_gcseca.png" /></span> </div> <div class="smiley"> <span class="open"><img src="http://res.cloudinary.com/dxssokt4h/image/upload/v1507184410/sad_il7kmb.png" /></span> <span class="close"><img src="http://res.cloudinary.com/dxssokt4h/image/upload/v1507184410/sad-active_rhibzn.png" /> </div> <div class="smiley"> <span class="open"><img src="http://res.cloudinary.com/dxssokt4h/image/upload/v1507184410/sceptic_we1bxv.png" /></span> <span class="close"><img src="http://res.cloudinary.com/dxssokt4h/image/upload/v1507184410/sceptic-active_kez7sa.png" /> </div> <div class="smiley"> <span class="open""><img src="http://res.cloudinary.com/dxssokt4h/image/upload/v1507184409/more-happy_f53bgi.png" /></span> <span class="close"><img src="http://res.cloudinary.com/dxssokt4h/image/upload/v1507184409/more-happy-active_d2hget.png" /> </div> <div class="smiley"> <span class="open"><img src="http://res.cloudinary.com/dxssokt4h/image/upload/v1507184409/happy_kakekm.png" /></span> <span class="close"><img src="http://res.cloudinary.com/dxssokt4h/image/upload/v1507184409/happy-active_fs6ztw.png" /> </div> </div> <div class="qa_div"> <h4 class="title_feedback">What Could Be Better?</h4> <div class="question"> <div class="row"> <div class="col-md-4"> <a href="javascript:;">Navigation Experience</a> </div> <div class="col-md-4"> <a href="javascript:;">Overall Experience</a> </div> <div class="col-md-4"> <a href="javascript:;">Website Look & Feel</a> </div> </div> <div class="row"> <div class="col-md-4"> </div> <div class="col-md-4"> <a href="javascript:;">Information Availablity</a> </div> <div class="col-md-4"> </div> </div> </div> </div> <div class="comment_div"> <h4 class="title_feedback">Comments / Suggestions?</h4> <textarea rows="8"></textarea> </div> <div class="submit_btn"> <a href="">Submit</a> </div> </div> </div> </div> </div> </div>
*, *:before, *:after{ margin: 0; padding: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; } body { font-family: 'Nunito', sans-serif; width: 100%; height: 100%; overflow-x: hidden; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-shadow: 1px 1px 1px rgba(0,0,0,0.004); margin: 0; } html { width: 100%; height: 100%; } h1, h2, h3, h4, h5, h6{ font-weight: 400; padding:0; margin:0; } p{ padding: 0; margin: 0; } a{ text-decoration:none; padding:0; margin:0; outline: medium none !important; } a:hover{ text-decoration: none; outline: medium none !important; } a:focus{ text-decoration: none; outline: medium none !important; } img{ display: inline-block; vertical-align: middle; max-width: 100%; } .clear{ clear: both; width: 0; height: 0; visibility: hidden; overflow: hidden; } .test .open{ display: none !important; } .smiley .open{ display: block ; } .smiley .close{ display: none; } .test .close{ display: block !important; } /********************************************************************/ .feedback_container{ text-align: center; padding: 50px; } .title_feedback{ font-size: 31px; font-weight: 800; padding-bottom: 30px; } .rating_div, .question{ margin-bottom: 80px; } .smiley { width: 72%; margin: auto; } .smiley span{ display: block; float: left; margin: 0 20px; width: 70px; height: 70px; cursor: pointer; } .close{ opacity: 1 !important; } .question a{ text-align: center; display: block; border: 2px solid #f18700; margin-bottom: 30px; font-size: 18px; color: #000; font-weight: 800; padding: 10px 0; } .question a:hover, .question a.active_qa{ background: #f18700; color: #fff; } .comment_div textarea{ width: 100%; border: 2px solid #f18700; resize: none; outline: 0; font-weight: 800; padding: 20px; font-size: 18px; } .submit_btn{ margin-top: 40px; } .submit_btn a{ display: inline-block; background: #f18700; color: #fff; font-size: 20px; font-weight: 700; padding: 10px 40px; text-transform: uppercase; } @media only screen and (max-width: 800px){ .smiley { width: 97%; } .smiley span{ width: 50px; height: 50px; } } @media only screen and (max-width: 640px){ .feedback_container { text-align: center; padding: 30px; } .title_feedback { font-size: 24px; } .smiley { width: 100%; } .smiley span{ width: 40px; height: 40px; margin: 0 10px; } }
$(document).ready(function() { $(".question a").click(function() { $(this).toggleClass("active_qa"); }); $(".smiley").click(function() { $(this).toggleClass("test"); $(this).siblings().removeClass("test"); }); });
Related:
See More
Free Template
Paper Kit
464.4K
45
login-form
171.0K
18
Login Form
142.3K
51
Contact Form
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76