Style triggering effect of web page input box_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:45:01
Original
1256 people have browsed it

This example mainly studies two parameters, onblur and onFocus. Because these two parameters are rarely encountered before, Baidu immediately understood that onblur is an event triggered when the control loses focus, and onFocus is when it becomes the input focus. Triggered events, these two parameters can be combined with className to directly call the style sheet class name

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">






.input1{
font-family: verdana;background-color: #EEEEEE;border-bottom: #FFFFFF 1px solid;border-left: #CCCCCC 1px solid;border-right: #FFFFFF 1px solid;border-top : #CCCCCC 1px solid;font-size: 12px;

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!