"Form to CSS generator builder | jQuery"
Bootstrap 4.1.1 Snippet by harunpehlivan

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="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<script src="/path/to/jquery.min.js"></script>
<script src="/path/to/jquery.serializejson.min.js"></script>
<script src="/path/to/cssbeautify.js"></script>
<script src="/path/to/cssParser.min.js"></script>
<script src="/path/to/formtocss.js"></script>
<div class="container">
<div class="row">
<div id="targetDIV" class="col-sm-6">
<h2>Form to CSS generator builder | jQuery</h2>
<form class="form-horizontal formClass well well-small">
<!--<form class="form-inline formClass"> -->
<fieldset>
<!-- Form Name -->
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label">Body Background: </label>
<div class="col-md-8">
<input type="text" id="bodycolor" name="body[background-color]" placeholder="placeholder" value="#feb" class="form-control input-md">
<span class="help-block">name="body[background-color]"</span> </div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label">H2 Background Color:</label>
<div class="col-md-8">
<input type="text" class="form-control input-md" name="h2[background-color]:important" value="#fff" />
<span class="help-block">name="h2[background-color]:important" value="#fff"</span> </div>
</div>
<!-- Text input-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: