您的位置:首页 > 其它

如何在sencha touch中修改placeHolder的颜色

2012-01-05 18:10 363 查看
Sencha Touch 交流 QQ 群 224711028

例子:

index.js

Ext.setup({
onReady: function() {
new Ext.form.FormPanel({
fullscreen: true,
items: [{
xtype: 'textfield',
label: 'Name',
cls: 'customField',
placeHolder: 'Insert your name here'
},{
xtype: 'textfield',
label: 'Surname',
placeHolder: 'Insert your surname here'
}]
});
}
});


style.css

.customField input::-webkit-input-placeholder {
color: #2e4bc5;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  insert function input