Design elements, playground and code snippets for Bootstrap HTML/CSS/JS framework

Bootsnipp is an element gallery for web designers and web developers, anybody using Bootstrap will find this website essential in their craft.

Free Sign upLearn More
  • Latest
  • Featured
This is a Poll-in survey form, where we have created a CSS style to match the outlook for the form and javascript to transfer data using HTML “post” request. We will start by creating the container using class “container”. This is responsible for flexible behavior of the form. We will then create a form using the “Post” method of HTTPRequest and using the REST API framework. The Form is divided into field set. The first fieldset contains “Personal Information” whereas the second contains “Survey” information. Controls like text box, options, labels are used. CCS style defines the looks of each control. A keyframe is defined during submit, it defines the rules for animation code. Once the user clicks on submit, javascript is used to collect the data and post it using ajax function. Once the HttpRequest is created we call the callback functions.
This is an Bootstrap sticky contact form which will be fixed at the bottom position of the page. It will be located at footer area and when clicked will slide out to show the form. The form is floating and fixed at bottom of page, it will be displayed when the user clicks on “Send a message”. When click it provides animation and popup with all input fields to be filled out. HTML contains the “container” and fixed classes which act as a container. The entire form is placed in this container. The form contains the input, textarea and submit button. The container is using CSS style for all the classes and uses jquery 1.11 for animation. and popup of this form.
HTML5 Contact Form which has a unique design and it looks professional. It is clean and fresh modern design contact form with validation which makes your website outstanding. It’s SIMPLE and works well with HTML5 Validation. It’s styled with CSS3 and designed to fit your website. It’s easy to customize. The fields included in this form are full name, email, subject, phone, and message. All the form fields have an icon which makes sense of the input fields. You can customize it very easy as you want it to be and can add more fields into form by simply copy & paste the few lines of HTML code. Our HTML5 form comes with many impressive features. One of the features is form validation without using any JavaScript or jquery. The HTML5 form validation little restricted to browser support, and it didn’t support old browser version especially IE. But the good thing, it is a responsive contact form and looking good on all type of screen resolution.
The snippet is of Survey Form. This form encloses all the data in RowTab control. The form consists of text, labels, select option, a radio button with multiple checkboxes. The CSS file mentions in the attribute, and classes for styling. Once you are done with the form, click submit. All the fields are marked as required. The width and height of different screens are defined. Each attribute has some style attached to is class. This form asks for name, email, age, role, suggestions, improvement lists.
This is an awesome example of Expanding Contact Form which can be used in web pages. The contact form is been shown only when clicked on the “Contact Me” button. The complete code is placed in the tag, which uses the class like FooterSocial. To contact using social media, we have placed icons respectively. A CSS style is been applied for all the classes and controls used in this snippet. The JavaScript code gives an additional feature to slide and toggle the panel when clicked on the “Contact Me” button. Once the simple form of contact me appears, you can add the details and click on submit button. Check the input fields in the form, they are marked with the required attribute. Note the input name “client” has required attribute marked with the input pattern. The form uses HTTP “post” method to submit the details.
This is the example of tracking progress form. It basically tracks the form completion. It has a Javascript code which runs while the user completes the form. It displays the message according to the percentage of completion of the form. The HTML consists of a simple form, which wraps the progress bar and progress message. Each FormControl is wrapped by class Field. Each field is marked with required, which makes it mandatory to fill the input field. Note the Select tag with options defined for CardMonth and CardNumber. At last, we have input with the class button. CSS style format is defined from body of HTML to the button at the bottom. In JS file attribute for the progress is checked and accordingly message and progress at a progress bar is set. Once the form is completed we can submit the form using HTTP “post” method.
This is an excellent example of a Footer. Footer is an additional navigation method for websites. It holds company info, copyrights, links, buttons, etc. This snippet contains classes like FooterTop, FooterBottom, FooterTitle, FooterLogo, FooterSocial. Check out the CSS settings in tag of HTML. We will be using font awesome for icons. Footer tag of bootstrap sets the stage for footer in HTML, the contains of the footer is placed in the class “container”, it deals with responsive behavior of the page. The row is divided into 4 parts and each part contains respective info which is using its individual style sheets. Check out the table class inside the footer. Each class and tag has its own style defined. Check out the hovering style defined for the button.
This is a simple login form for any resort application. This consists of a user name and password to access the application. This form is divided into , and a section. The header section contains the image set using max-width. The form is placed in the div section where two input type is displayed with place holders. Footer contains the button to sign in and a link for sign up form. Styles for different class @media rule are used in media queries to apply different styles for different media types/devices. Here we are applying the clip path ellipse, to the background. This gives us the required eclipse like curve.
This snippet describes how to code for the comment section of the webpage. This snippet uses the class “comment-container” and theme-light. It uses the card from Bootstrap 4 which is a flexible and extensible content container. It contains a header, footer, background colors, images or avatars. A simple card template is used with sheet and theme set to light. This card includes the avatar or image and name of the commenter. An arbitrary class dialog container is applied. The styles are applied to each class used in the snippet. Media rule is applied classes container and comments. CSS uses a few settings selectively for Mozilla or Firefox browsers.
This is a simple contact form, which is using class Jumbotron for the header. This class is a lightweight, flexible component that can optionally extend the entire viewport to showcase the header part of the snippet. In the second part, the form is placed in the container. The container helps to deal with responsive behavior of the form. FormGroup is used along with the FormContainers, to display the labels and types. An addon is used to display the email icon for email FormControl. This is all placed in the class InputGroup. The snippet used column setting for medium devices for each formGroup. The style is limited to jumbotron class and header.
This is a bueatiful contact form created using HTML and CSS. This contact form can be used on any website. It is responsive. Name, Email and Message field is required in this form.

Subscribe for our newsletter