|
|
@ -149,43 +149,41 @@ |
|
|
|
<h2>Standard</h2> |
|
|
|
|
|
|
|
<div class="example"> |
|
|
|
<i class="icon code"></i> |
|
|
|
<h4>Form:</h4> |
|
|
|
<p>A form is a collection of user input elements, and has no stylings of its own.</p> |
|
|
|
<div class="demo"><div class="ui form segment"> |
|
|
|
<p>Let's go ahead and get you signed up.</p> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Username</label> |
|
|
|
<input placeholder="Username" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Password</label> |
|
|
|
<input type="password"> |
|
|
|
</div> |
|
|
|
<div class="inline field"> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox" id="terms" /> |
|
|
|
<label for="terms"></label> |
|
|
|
<div class="ui form segment"> |
|
|
|
<p>Let's go ahead and get you signed up.</p> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Username</label> |
|
|
|
<input placeholder="Username" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Password</label> |
|
|
|
<input type="password"> |
|
|
|
</div> |
|
|
|
<div class="inline field"> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox" id="terms" /> |
|
|
|
<label for="terms"></label> |
|
|
|
</div> |
|
|
|
<label>I agree to the terms and conditions</label> |
|
|
|
</div> |
|
|
|
<div class="ui blue submit button">Submit</div> |
|
|
|
</div> |
|
|
|
<label>I agree to the terms and conditions</label> |
|
|
|
</div> |
|
|
|
<div class="ui blue submit button">Submit</div> |
|
|
|
</div></div> |
|
|
|
</div> |
|
|
|
<h3>Types of Content</h3> |
|
|
|
|
|
|
|
<div class="example"> |
|
|
|
<i class="icon code"></i> |
|
|
|
<h4>Field</h4> |
|
|
|
<p>A field is a form element containing a label and an input</p> |
|
|
|
<div class="ui form"> |
|
|
@ -194,44 +192,51 @@ |
|
|
|
<input type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h4>Text Area</h4> |
|
|
|
<p>A textarea uses the default form element</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="field"> |
|
|
|
<label>User Text</label> |
|
|
|
<textarea></textarea> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="example"> |
|
|
|
<h4>Text Area</h4> |
|
|
|
<p>A textarea uses the default form element</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="field"> |
|
|
|
<label>User Text</label> |
|
|
|
<textarea></textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h4>Checkbox</h4> |
|
|
|
<p>Checkboxes are styled forms of standard form checkboxes.</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="field"> |
|
|
|
<label>Checkbox (Using attribute ID to trigger checked event)</label> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox" id="uniqueid" /> |
|
|
|
<label for="uniqueid"></label> |
|
|
|
<div class="example"> |
|
|
|
<h4>Checkbox</h4> |
|
|
|
<p>Checkboxes are styled forms of standard form checkboxes.</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="field"> |
|
|
|
<label>Checkbox (Using attribute ID to trigger checked event)</label> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox" id="uniqueid" /> |
|
|
|
<label for="uniqueid"></label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Checkbox (<a href="#">Javascript</a>)</label> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox"/> |
|
|
|
<label></label> |
|
|
|
<div class="field"> |
|
|
|
<label>Checkbox (<a href="#">Javascript</a>)</label> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox"/> |
|
|
|
<label></label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h4>Validation</h4> |
|
|
|
<p>Text blocks have special meaning inside a form tag. All message blocks are hidden by default.</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="ui block"> |
|
|
|
<div class="header">We had some issues</div> |
|
|
|
<ul class="list"> |
|
|
|
<li>Please enter your first name</li> |
|
|
|
<li>Please enter your last name</li> |
|
|
|
</ul> |
|
|
|
<div class="example"> |
|
|
|
<h4>Validation</h4> |
|
|
|
<p>Text blocks have special meaning inside a form tag. All message blocks are hidden by default.</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="ui block"> |
|
|
|
<div class="header">We had some issues</div> |
|
|
|
<ul class="list"> |
|
|
|
<li>Please enter your first name</li> |
|
|
|
<li>Please enter your last name</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
@ -239,142 +244,152 @@ |
|
|
|
|
|
|
|
<h3>Form</h3> |
|
|
|
|
|
|
|
<h4>Loading</h4> |
|
|
|
<p>If a form is in loading state, it will automatically show a loading indicator:</p> |
|
|
|
|
|
|
|
<div class="ui loading form segment"> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="example"> |
|
|
|
<h4>Loading</h4> |
|
|
|
<p>If a form is in loading state, it will automatically show a loading indicator:</p> |
|
|
|
|
|
|
|
<div class="ui loading form segment"> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
<label>Username</label> |
|
|
|
<input placeholder="Username" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
<label>Password</label> |
|
|
|
<input type="password"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Username</label> |
|
|
|
<input placeholder="Username" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Password</label> |
|
|
|
<input type="password"> |
|
|
|
</div> |
|
|
|
<div class="inline field"> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox" id="terms" /> |
|
|
|
<label for="terms"></label> |
|
|
|
<div class="inline field"> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox" id="terms" /> |
|
|
|
<label for="terms"></label> |
|
|
|
</div> |
|
|
|
<label>I agree to the terms and conditions</label> |
|
|
|
</div> |
|
|
|
<label>I agree to the terms and conditions</label> |
|
|
|
<div class="ui blue submit button">Submit</div> |
|
|
|
</div> |
|
|
|
<div class="ui blue submit button">Submit</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h4>Error</h4> |
|
|
|
<p>If form is in an error state, it will automatically show any error message blocks:</p> |
|
|
|
<div class="ui error form segment"> |
|
|
|
<div class="ui error block"> |
|
|
|
<div class="header">Action Forbidden</div> |
|
|
|
<p>You can only sign up for an account once with a given e-mail address.</p> |
|
|
|
</div> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="example"> |
|
|
|
<h4>Error</h4> |
|
|
|
<p>If form is in an error state, it will automatically show any error message blocks:</p> |
|
|
|
<div class="ui error form segment"> |
|
|
|
<div class="ui error block"> |
|
|
|
<div class="header">Action Forbidden</div> |
|
|
|
<p>You can only sign up for an account once with a given e-mail address.</p> |
|
|
|
</div> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
<label>Username</label> |
|
|
|
<input placeholder="Username" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
<label>Password</label> |
|
|
|
<input type="password"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Username</label> |
|
|
|
<input placeholder="Username" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Password</label> |
|
|
|
<input type="password"> |
|
|
|
</div> |
|
|
|
<div class="inline field"> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox" id="terms" /> |
|
|
|
<label for="terms"></label> |
|
|
|
<div class="inline field"> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox" id="terms" /> |
|
|
|
<label for="terms"></label> |
|
|
|
</div> |
|
|
|
<label>I agree to the terms and conditions</label> |
|
|
|
</div> |
|
|
|
<label>I agree to the terms and conditions</label> |
|
|
|
<div class="ui blue submit button">Submit</div> |
|
|
|
</div> |
|
|
|
<div class="ui blue submit button">Submit</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h4>Warning</h4> |
|
|
|
<p>If form is in warning state, it will automatically show any warning message block:</p> |
|
|
|
|
|
|
|
<div class="ui warning form segment"> |
|
|
|
<div class="ui warning block"> |
|
|
|
<div class="header">Could you check something!</div> |
|
|
|
<ul class="list"> |
|
|
|
<li>You forgot your <b>first name</b></li> |
|
|
|
<li>And also your <b>last name</b></li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
<div class="two error fields"> |
|
|
|
<div class="example"> |
|
|
|
<h4>Warning</h4> |
|
|
|
<p>If form is in warning state, it will automatically show any warning message block:</p> |
|
|
|
|
|
|
|
<div class="ui warning form segment"> |
|
|
|
<div class="ui warning block"> |
|
|
|
<div class="header">Could you check something!</div> |
|
|
|
<ul class="list"> |
|
|
|
<li>You forgot your <b>first name</b></li> |
|
|
|
<li>And also your <b>last name</b></li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
<div class="two error fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
<label>Username</label> |
|
|
|
<input placeholder="Username" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
<label>Password</label> |
|
|
|
<input type="password"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Username</label> |
|
|
|
<input placeholder="Username" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Password</label> |
|
|
|
<input type="password"> |
|
|
|
</div> |
|
|
|
<div class="inline field"> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox" id="terms" /> |
|
|
|
<label for="terms"></label> |
|
|
|
<div class="inline field"> |
|
|
|
<div class="ui checkbox"> |
|
|
|
<input type="checkbox" id="terms" /> |
|
|
|
<label for="terms"></label> |
|
|
|
</div> |
|
|
|
<label>I agree to the terms and conditions</label> |
|
|
|
</div> |
|
|
|
<label>I agree to the terms and conditions</label> |
|
|
|
<div class="ui blue submit button">Submit</div> |
|
|
|
</div> |
|
|
|
<div class="ui blue submit button">Submit</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h3>Form Fields</h3> |
|
|
|
|
|
|
|
<h4>Error</h4> |
|
|
|
<p>Individual fields may contain an error state</p> |
|
|
|
|
|
|
|
<div class="ui error form segment"> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field error"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
<div class="example"> |
|
|
|
<h4>Error</h4> |
|
|
|
<p>Individual fields may contain an error state</p> |
|
|
|
|
|
|
|
<div class="ui error form segment"> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field error"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h4>Disabled</h4> |
|
|
|
<p>Individual fields may be disabled or read only</p> |
|
|
|
|
|
|
|
<div class="ui error form segment"> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="Read Only" readonly="readonly" type="text"> |
|
|
|
</div> |
|
|
|
<div class="disabled field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Disabled" disabled="disabled" type="text"> |
|
|
|
<div class="example"> |
|
|
|
<h4>Disabled</h4> |
|
|
|
<p>Individual fields may be disabled or read only</p> |
|
|
|
|
|
|
|
<div class="ui error form segment"> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="Read Only" readonly="readonly" type="text"> |
|
|
|
</div> |
|
|
|
<div class="disabled field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Disabled" disabled="disabled" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -383,64 +398,26 @@ |
|
|
|
|
|
|
|
<h3>Forms</h3> |
|
|
|
|
|
|
|
<h4>Size</h4> |
|
|
|
<p>A form can also be small or large</p> |
|
|
|
<div class="ui small form segment"> |
|
|
|
<div class="ui info block"> |
|
|
|
<div class="header">We had some issues</div> |
|
|
|
<ul class="list"> |
|
|
|
<li>Please enter your first name</li> |
|
|
|
<li>Please enter your last name</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="ui blue small submit button">Submit</div> |
|
|
|
</div> |
|
|
|
<br><br> |
|
|
|
<div class="ui large form segment"> |
|
|
|
<div class="ui info block"> |
|
|
|
<div class="header">We had some issues</div> |
|
|
|
<ul class="list"> |
|
|
|
<li>Please enter your first name</li> |
|
|
|
<li>Please enter your last name</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
<div class="example"> |
|
|
|
<h4>Size</h4> |
|
|
|
<p>A form can also be small or large</p> |
|
|
|
<div class="ui small form segment"> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="ui blue small submit button">Submit</div> |
|
|
|
</div> |
|
|
|
<div class="ui blue submit button">Submit</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h4>Inverted</h4> |
|
|
|
<p>A form on a dark background may have to invert its color scheme</p> |
|
|
|
|
|
|
|
<div style="background-color: #333333; padding: 15px;"> |
|
|
|
<div class="ui inverted form"> |
|
|
|
<div class="ui info block"> |
|
|
|
<div class="header">We had some issues</div> |
|
|
|
<ul class="list"> |
|
|
|
<li>Please enter your first name</li> |
|
|
|
<li>Please enter your last name</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
<br><br> |
|
|
|
<div class="ui large form segment"> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="error field"> |
|
|
|
<div class="field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
@ -453,47 +430,81 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="example"> |
|
|
|
<h4>Inverted</h4> |
|
|
|
<p>A form on a dark background may have to invert its color scheme</p> |
|
|
|
|
|
|
|
<div style="background-color: #333333; padding: 15px;"> |
|
|
|
<div class="ui inverted form"> |
|
|
|
<div class="ui info block"> |
|
|
|
<div class="header">We had some issues</div> |
|
|
|
<ul class="list"> |
|
|
|
<li>Please enter your first name</li> |
|
|
|
<li>Please enter your last name</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
<div class="two fields"> |
|
|
|
<div class="error field"> |
|
|
|
<label>First Name</label> |
|
|
|
<input placeholder="First Name" type="text"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last Name</label> |
|
|
|
<input placeholder="Last Name" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="ui blue submit button">Submit</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<h3>Fields</h3> |
|
|
|
|
|
|
|
<h4>Inline</h4> |
|
|
|
<p>A field can have its label next to instead of above it.</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="ui inline fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>Last name</label> |
|
|
|
<input type="text" placeholder="Full Name"> |
|
|
|
<div class="example"> |
|
|
|
<h4>Inline</h4> |
|
|
|
<p>A field can have its label next to instead of above it.</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="ui inline fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>Last name</label> |
|
|
|
<input type="text" placeholder="Full Name"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<h4>Date</h4> |
|
|
|
<p>A field can let users know they are for dates</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="date field"> |
|
|
|
<label>Birthday</label> |
|
|
|
<input type="text" placeholder="Full Name"> |
|
|
|
<div class="example"> |
|
|
|
<h4>Date</h4> |
|
|
|
<p>A field can let users know they are for dates</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="date field"> |
|
|
|
<label>Birthday</label> |
|
|
|
<input type="text" placeholder="Full Name"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<h2>Groups</h2> |
|
|
|
|
|
|
|
<h4>Field Groups</h4> |
|
|
|
<p>Fields can exist side by side to show relation</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="ui three fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First name</label> |
|
|
|
<input type="text" placeholder="First Name"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Middle name</label> |
|
|
|
<input type="text" placeholder="Middle Name"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last name</label> |
|
|
|
<input type="text" placeholder="Last Name"> |
|
|
|
<div class="example"> |
|
|
|
<h4>Field Groups</h4> |
|
|
|
<p>Fields can exist side by side to show relation</p> |
|
|
|
<div class="ui form"> |
|
|
|
<div class="ui three fields"> |
|
|
|
<div class="field"> |
|
|
|
<label>First name</label> |
|
|
|
<input type="text" placeholder="First Name"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Middle name</label> |
|
|
|
<input type="text" placeholder="Middle Name"> |
|
|
|
</div> |
|
|
|
<div class="field"> |
|
|
|
<label>Last name</label> |
|
|
|
<input type="text" placeholder="Last Name"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|