Bootstrap snippet. Update status form

This Bootstrap snippet. Update status form, was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
tags: form

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container bootstrap snippets bootdey">
    <div class="row">
		<div class="col-md-6 col-md-offset-3">
			<form action="#" method="post" role="form" enctype="multipart/form-data" class="update-status-form">
				<ul class="post-types">
					<li class="post-type">
						<a class="status" title="" href="#"><i class="fa fa-file"></i> Share an Update</a>
					</li>
					<li class="post-type">
						<a class="photos" href="#"><i class="fa fa-camera"></i> Add photos</a>
					</li>
				</ul>
				<div class="share">
					<div class="arrow"><i class="fa fa-arrow-up"></i></div>
					<div class="panel panel-default">
	                  <div class="panel-heading"><i class="fa fa-file"></i> Update Status</div>
	                  <div class="panel-body">
	                    <div class="">
	                        <textarea name="message" cols="40" rows="10" id="status_message" class="form-control message" style="height: 62px; overflow: hidden;" placeholder="What's on your mind ?"></textarea> 
						</div>
	                  </div>
						<div class="panel-footer">
							<div class="row">
								<div class="col-md-7">
									<div class="form-group">
										<div class="btn-group">
										  <button type="button" class="btn btn-default"><i class="icon icon-map-marker"></i> Location</button>
										  <button type="button" class="btn btn-default"><i class="icon icon-picture"></i> Photo</button>
										</div>
									</div>
								</div>
								<div class="col-md-5">
									<div class="form-group">
										<select name="privacy" class="form-control privacy-dropdown pull-left input-sm no-radius">
											<option value="1" selected="selected">Public</option>
											<option value="2">Friends</option>
											<option value="3">Only me</option>
										</select>                                    
										<input type="submit" name="submit" value="Post" class="btn btn-primary btn-sm no-radius">                               
									</div>
								</div>
							</div>
						</div>
	                </div>
				</div>
			</form>
		</div>
	</div>
</div>


CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body {
    padding-top: 40px;
    padding-bottom: 40px;
}
.update-status-form {
    width: 100%;
}
.update-status-form .share {
    -webkit-transition: 0.1s ease-out height;
    -moz-transition: 0.1s ease-out height;
    -ms-transition: 0.1s ease-out height;
    -o-transition: 0.1s ease-out height;
    transition: 0.1s ease-out height;
    clear: both;
    background: white;
    border: 2px solid #dddddd;
    margin-bottom: 10px;
    position: relative;
}

.update-status-form .share .arrow {
    position: absolute;
    width: 14px;
    height: 10px;
    left: 4px;
    display: inline;
    top: -10px;
    -webkit-transition: 0.3s ease-out all;
    -moz-transition: 0.3s ease-out all;
    -ms-transition: 0.3s ease-out all;
    -o-transition: 0.3s ease-out all;
    transition: 0.3s ease-out all;
}

.update-status-form .share .arrow .fa{
    font-size:20px;
    color:#ddd;
}

.update-status-form .post-types li a {
    color: #085083;
    text-decoration: none;
}

.update-status-form .post-types li a.active {
    color: #404040;
}

.update-status-form .post-types {
    padding-left: 5px;
}

.update-status-form ul {
    list-style: none;
    margin-bottom: 9px;
}

.update-status-form .post-types li {
    display: inline;
    margin-right: 10px;
}

.message {
    border-radius: 0;
    border: none;
}
.panel {
    border-radius: 0;
    border: none;
    margin-bottom: 0;
}

.privacy-dropdown {
    width: 100px;
}

.no-radius{
    border-radius:0px;    
}
                                    

Javascript/Jquery code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following JS code to get a result Like the one shown in the preview selection

$(document).ready(function(){
	$('.status').click(function(e){ 
        $('.arrow').css("left", 0);
        e.preventDefault();
    });
	$('.photos').click(function(e) {
        $('.arrow').css("left", 146);
        e.preventDefault();
    });

});
 

Similar snippets

Bootstrap Bootstrap Google Plus Style Login Form example

Bootstrap Google Plus Style Login Form

View

Bootstrap update your social status form example

update your social status form

View

Bootstrap contact page section example

contact page section

View

Bootstrap Update user profile example

Update user profile

View

Bootstrap Messages Board example

Messages Board

View

Bootstrap team user resume example

team user resume

View

Bootstrap Server error 500 bootdey example

Server error 500 bootdey

View

Bootstrap Most Recent Signups panel example

Most Recent Signups panel

View

Bootstrap Update status form example

About this bootstrap snippet

This bootstrap snippet, Update status form, was published on Jun 21st 2015, 20:52 by Dey Dey and it is free.

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This snippet currectly have 768 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.4

This snippet is based on bootstrap 3.3.4 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working