"Form Sidebar"
Bootstrap 3.0.0 Snippet by yanivsasson

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<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 ---------->
<div class="form-horizontal" dir="rtl">
<fieldset>
<!-- Text input-->
<div class="control-group">
<div class="controls">
<input id="fullName" name="fullName" type="text" placeholder="שם" class="form-control" >
<p class="help-block hide">השם הוא חובה</p>
</div>
</div>
<!-- Text input-->
<div class="control-group">
<div class="controls">
<input id="phone" name="phone" type="text" placeholder="טלפון" class="form-control" >
<p class="help-block hide">הטלפון הוא חובה</p>
</div>
</div>
<!-- Text input-->
<div class="control-group">
<div class="controls">
<input id="email" name="email" type="text" placeholder='דוא"ל' class="form-control">
</div>
</div>
<!-- Textarea -->
<div class="control-group">
<div class="controls">
<textarea id="message" name="message" class="form-control">הודעה</textarea>
</div>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
.form-control { color: #333; }
.form-control::-webkit-input-placeholder { color: #333; }
.form-control:-moz-placeholder { color: #333; }
.form-control::-moz-placeholder { color: #333; }
.form-control:-ms-input-placeholder { color: #333; }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: