Web Page Example: Create a Web button with a style with CSS
Source: Internet
Author: User
css| Button | Page today the company platform in front of the designer to do the button part of the redesign, the original use of JS to achieve the image of alternating changes in the way, but the disadvantage is: the use of the ID in the input, and disabled also can not be used, not conducive to the design of the program.
button to recreate the idea:
1, realize the difference between triggering and not triggering;
2, the application of input and A;
3, a variety of browsers without differences.
button re-production process:
1, using different styles to achieve the difference between triggering and not triggering;
2, using Boder to simulate button shadow
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.