Home > Web Front-end > HTML Tutorial > css to create an underline input box_html/css_WEB-ITnose

css to create an underline input box_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:47:28
Original
1663 people have browsed it

Similar to this effect

<input type="text" class="input" />
Copy after login

Simple version

    border: 0;    outline: 0;    background: transparent;    border-bottom: 2px solid black;    width: 20px;
Copy after login

Slightly more complicated and beautiful

    background-color: transparent;        border: none;        border-bottom: 2px solid #fff;        outline: none;        padding-bottom: 10px;        text-align: center;        width: 400px;        font-size: 300%;        color: #fff;        font-weight: 100;
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template