我有一个应用程序使用 bootstrap.css 为了设计。我有一个readonly输入,看起来像因为bootstrap而禁用(光标不允许,背景颜色为灰色等...)。我想通过readonly激活看起来启用输入。
我怎样才能做到这一点?
编辑 (添加更多代码):
标题:
doctype html
html(ng-app='myApp')
head
title=title
link(rel='stylesheet' href='stylesheets/bootstrap.min-3.1.1.css')
link(rel='stylesheet' href='stylesheets/style.css')
我的意见: input.form-control(readonly, placeholder='jj-mm-aaaa')
我的手写笔(style.css):
input[readonly]
background-color: #fff