Adds silver background colour to inputs disabled type email, password, text (#110)
* Adds silver background colour to inputs type email, password, text * Add example to docs * Textarea disabled styling * Revert autoformatting * fix: text shadow, use :disabled pseudoselector
This commit is contained in:
parent
111a3d2f46
commit
fa4d637525
2 changed files with 24 additions and 0 deletions
|
|
@ -388,7 +388,20 @@
|
|||
<textarea id="text${getCurrentId()}" rows="8"></textarea>
|
||||
</div>
|
||||
`) %>
|
||||
|
||||
<p>
|
||||
Text boxes can also be disabled and have value with their corresponding HTML attributes.
|
||||
</p>
|
||||
|
||||
<%- example(`
|
||||
<div class="field-row">
|
||||
<label for="text${getNewId()}">Favorite color</label>
|
||||
<input id="text${getCurrentId()}" disabled type="text" value="Windows Green"/>
|
||||
</div>
|
||||
`) %>
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<section class="component">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue