]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
cleans up documentation 1710/head
authorDavid Boskovic <david@momentumapp.co>
Tue, 5 Mar 2013 03:01:48 +0000 (22:01 -0500)
committerDavid Boskovic <david@momentumapp.co>
Tue, 5 Mar 2013 03:01:48 +0000 (22:01 -0500)
docs/components/custom-forms.html.erb

index 8440cdab8ad449d09de446ab53bb867e0a99eb35..04608e347df585ca372bc6313fd2cf0fb050688a 100644 (file)
 
         <h3>Building Custom Selects</h3>
         <p>Sometimes you need to let people select a single item from a long list of options. This is what <code>&lt;select&gt;</code> elements are for. We've taken these a step further by including our own custom style that looks a lot better than inconsistent browser defaults. You can set any of the <code>&lt;option&gt;</code> elements to <code>&lt;option disabled&gt;</code> to make them unable to select. Custom selects are built like you'd expect:</p>
+        <p>For those who may want to apply custom styles to a specific dropdown, any classes on the <code>&lt;select&gt;</code> element will be appended to the generated <code>&lt;div class=&quot;custom dropdown&quot;&gt;</code> element.</p>
 
 <%= code_example '
 <form class="custom">
 
         <form class="custom">
           <label for="customDropdown2">Default Example</label>
-          <select id="customDropdown2" class="custom cool class here">
+          <select id="customDropdown2">
             <option DISABLED>This is a dropdown</option>
             <option>This is another option</option>
             <option>This is another option too</option>