input submit input text css的写法

82 views 0 comments last modified about 10 years ago Raymond Tang

HTML

In this page
比如说:
input[type=submit]
{
    border: solid 1px #99CA65;
    background-color:#D4F5C8;
    padding:4px;
}
input[type=submit]:hover
{
    background-color:#FFF576;
    font-weight:bold;
}
input[type=text]:hover
{
    border:solid 1px #A8B7C0;
    background-color:#FFF9CF;
}

Add comment

Comments (0)

No comments yet.