帝国模板之家为广大用户提供专业、一站式建站服务。

网页特效

网页特效栏目收集了最全最新的前端网页插件,包括最流行的jQuery,Bootstrap,Js,Css,Vue等主流特效插件。

当前位置:首页 > 资源 > 网页特效 > 正文

24种好的CSS表单输入背景表框样式

帝国模板之家 2020-12-22 网页特效 评论

介绍

非常好看的CSS表单输入背景表框样式,有24种不同的风格,使用这些特效能获得更好的用户体验。

使用方法

1.在页面中引入边框和背景css样式文件

<link rel="stylesheet" href="./style.css">

2.添加如下代码:

 <div class="container">
        <h2>边框样式</h2>
        <div class="col-3">
            <input class="effect-1" type="text" placeholder="Placeholder Text">
            <span class="focus-border"></span>
        </div>
        <div class="col-3">
            <input class="effect-2" type="text" placeholder="Placeholder Text">
            <span class="focus-border"></span>
        </div>
        <div class="col-3">
            <input class="effect-3" type="text" placeholder="Placeholder Text">
            <span class="focus-border"></span>
        </div>
        
        <div class="col-3">
            <input class="effect-4" type="text" placeholder="Placeholder Text">
            <span class="focus-border"></span>
        </div>
        <div class="col-3">
            <input class="effect-5" type="text" placeholder="Placeholder Text">
            <span class="focus-border"></span>
        </div>
        <div class="col-3">
            <input class="effect-6" type="text" placeholder="Placeholder Text">
            <span class="focus-border"></span>
        </div>
        
        <div class="col-3">
            <input class="effect-7" type="text" placeholder="Placeholder Text">
            <span class="focus-border">
                <i></i>
            </span>
        </div>
        <div class="col-3">
            <input class="effect-8" type="text" placeholder="Placeholder Text">
            <span class="focus-border">
                <i></i>
            </span>
        </div>
        <div class="col-3">
            <input class="effect-9" type="text" placeholder="Placeholder Text">
            <span class="focus-border">
                <i></i>
            </span>
        </div>
        
        <h2>背景特效</h2>
        <div class="col-3">
            <input class="effect-10" type="text" placeholder="Placeholder Text">
            <span class="focus-bg"></span>
        </div>
        <div class="col-3">
            <input class="effect-11" type="text" placeholder="Placeholder Text">
            <span class="focus-bg"></span>
        </div>
        <div class="col-3">
            <input class="effect-12" type="text" placeholder="Placeholder Text">
            <span class="focus-bg"></span>
        </div>
        <div class="col-3">
            <input class="effect-13" type="text" placeholder="Placeholder Text">
            <span class="focus-bg"></span>
        </div>
        <div class="col-3">
            <input class="effect-14" type="text" placeholder="Placeholder Text">
            <span class="focus-bg"></span>
        </div>
        <div class="col-3">
            <input class="effect-15" type="text" placeholder="Placeholder Text">
            <span class="focus-bg"></span>
        </div>
        
        <h2>标签和背景</h2>
        <div class="col-3 input-effect">
            <input class="effect-16" type="text" placeholder="">
            <label>First Name</label>
            <span class="focus-border"></span>
        </div>
        <div class="col-3 input-effect">
            <input class="effect-17" type="text" placeholder="">
            <label>First Name</label>
            <span class="focus-border"></span>
        </div>
        <div class="col-3 input-effect">
            <input class="effect-18" type="text" placeholder="">
            <label>First Name</label>
            <span class="focus-border"></span>
        </div>
        
        <div class="col-3 input-effect">
            <input class="effect-19" type="text" placeholder="">
            <label>First Name</label>
            <span class="focus-border">
                <i></i>
            </span>
        </div>
        <div class="col-3 input-effect">
            <input class="effect-20" type="text" placeholder="">
            <label>First Name</label>
            <span class="focus-border">
                <i></i>
            </span>
        </div>
        <div class="col-3 input-effect">
            <input class="effect-21" type="text" placeholder="">
            <label>First Name</label>
            <span class="focus-border">
                <i></i>
            </span>
        </div>
        
        <div class="col-3 input-effect">
            <input class="effect-22" type="text" placeholder="">
            <label>First Name</label>
            <span class="focus-bg"></span>
        </div>
        <div class="col-3 input-effect">
            <input class="effect-23" type="text" placeholder="">
            <label>First Name</label>
            <span class="focus-bg"></span>
        </div>
        <div class="col-3 input-effect">
            <input class="effect-24" type="text" placeholder="">
            <label>First Name</label>
            <span class="focus-bg"></span>
        </div>
    </div>
这世上无忧无虑的人,反而相对寿命会长点。

已有 位小伙伴发表了看法

欢迎 发表评论

  • 匿名发表

关于

帝国cms模板

网页插件

帝国模板之家 | www.moyouyouw.cn

本站所有模板/文章除标明原创外,均来自网络转载,版权归原作者所有,如果有侵犯到您的权益,请联系站长删除,谢谢! 寻找帝国cms模板首选帝国模板之家,用心做站,上线至今广受好评,值得信赖!

  • 交流群1:帝国cms交流群1
  • 交流群2:帝国cms交流群2
在线QQ 给我留言