CSS3 Transition End Listener event, clear/Modify some default styles for form elements

Source: Internet
Author: User

Document.queryselector (' div '). AddEventListener (' transitionend ',function() {        console.log (' Over ')    })

If you want to be compatible with a lower version of the browser, add the browser's kernel prefix webkittransitionend/moztransitionend/otransitionend ....

The default style of the Clear form drop-down box is primarily the default style on the mobile side

Select::-ms-expand {display:none;} Select {    appearance:none;     -moz-appearance:none;     -webkit-appearance:none;}

Modifying the style properties of a table cell placeholder placeholder

Input::-webkit-input-placeholder {    color:red;}  {    color:red;}  {    color:Red

CSS3 Transition End Listener event, clear/Modify some default styles for form elements

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.