Home >Web Front-end >HTML Tutorial >ionic.css interface component: form-select box_html/css_WEB-ITnose

ionic.css interface component: form-select box_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:38:491010browse

Select box: .item-select select

On each platform, the selection box appears differently. For example, on PC, it is a traditional drop-down box, on Android is a radio-select popup window, while on iOS it is a custom scroller that covers half of the form:

Usually always put the selection box together with the text into the list entry, use the following HTML template to create the selection box Entries:

<label class="item-input item-select">    <any class="input-label"></any>    <select>        <option>...</option>        <option>...</option>        ...    </select></label>

example;

<div class="scroll-content has-header">		<div class="list">			<label class="item item-input item-select">				<div class="input-label">					前端技术				</div>				<select>					<option>HTML</option>					<option selected>CSS</option>					<option>JavaScript</option>				</select>			</label>		</div>	</div>


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn