PhoneGap中文网

 找回密码
 立即注册
PhoneGap中文网 视频教程 ionic 教程 查看内容

文本输入 : input[type="text"]

2015-4-12 13:43| 发布者: admin| 查看: 2009| 评论: 0

摘要: 文本输入 : input文本输入通常包含一个文本input元素和一个描述型标签:在ionic中,使用以下HTML模板建立一个带有文本标签的输入框:any class="item-input" span class="input-label".../span input type="text" pl ...

文本输入 : input[type="text"]

文本输入通常包含一个文本input元素和一个描述型标签:

input

ionic中,使用以下HTML模板建立一个带有文本标签的输入框:

  1. <any class="item-input">
  2. <span class="input-label">...</span>
  3. <input type="text" placeholder="...">
  4. </any>


<!DOCTYPE html>
<html>
<head>
 <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no,width=device-width,height=device-height">
 <link rel="stylesheet" type="text/css" href="ionic.min.css">
</head>
<body>
 <div class="scroll-content padding">
  <div class="list list-borderless">
   <div class="item item-image">
    <img src="img/evernote.jpg">
   </div>
  </div>
  <div class="list list-inset">
   <label class="item item-input">
    <span class="input-label">Username</span>
    <input type="text" placeholder="joeuser">
   </label>
   <label class="item item-input">
    <span class="input-label">Password</span>
    <input type="password" placeholder="required">
   </label>
  </div>
  <button class="button button-block button-balanced">Sign In</button>
 </div>
</body>
</html>


头晕

难过

扯淡

不解

搞笑

支持

超赞

欠扁

相关阅读

最新评论

关闭

站长推荐 上一条 /1 下一条

ionic4视频教程

Archiver|手机版|小黑屋| PhoneGap中文网 ( 京ICP备13027796号-1 )  

GMT+8, 2024-5-4 04:30 , Processed in 0.031148 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

返回顶部