Moody's CRE

Select

Examples

<div class="select">
    <select>
        <option selected>Open this select</option>
        <option>One</option>
        <option>Two</option>
        <option>Three</option>
    </select>
</div>

Disabled State

:disabled form elements will automatically receive this styling. If you need to add disabled styling to a label or something like a group of elements, use .disabled.

<div class="select">
    <select disabled>
        <option selected>Select one</option>
        <option>One</option>
        <option>Two</option>
        <option>Three</option>
    </select>
</div>

See also