• 请不要在回答技术问题时复制粘贴 AI 生成的内容
JackyXiong
V2EX  ›  程序员

bootstrap3 输入框圆角问题

  •  
  •   JackyXiong ·
    JackyXiong · Jul 19, 2014 · 10314 views
    This topic created in 4497 days ago, the information mentioned may be changed or developed.
    在 bootstrap 2 里面表单实现圆角框只要 form 和 input 各自设置 class 就可以了,在 bootstrap 3 是不是实现不了,谷歌了好久都没找到答案。求高人指点。
    7 replies  •  2014-07-20 01:10:00 +08:00
    cmingxu
    cmingxu
    Jul 19, 2014
    1
    class设置成form-control行么
    qiuai
    qiuai
    Jul 19, 2014
    2
    .form-control 有圆角啊
    JackyXiong
    JackyXiong
    OP
    Jul 19, 2014
    3
    @qiuai 我想实现类似于 v2ex 搜索框这种大圆角
    qiuai
    qiuai
    Jul 19, 2014
    4
    @JackyXiong 那没有.你需要自己写一个元素给他.
    clijiac
    clijiac
    Jul 19, 2014
    5
    3代都趋于扁平化的
    g0thic
    g0thic
    Jul 19, 2014
    6
    form-control 自己改成自己需要的值
    Biwood
    Biwood
    Jul 20, 2014
    7
    把border-radius的值设置为搜索框的高度值就行啦
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   922 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 21:55 · PVG 05:55 · LAX 13:55 · JFK 16:55
    ♥ Do have faith in what you're doing.