Home  >  Article  >  Web Front-end  >  jquery+css3 realizes mouse and form interaction

jquery+css3 realizes mouse and form interaction

php中世界最好的语言
php中世界最好的语言Original
2018-04-25 10:37:471650browse

This time I will bring you jquery css3 to realize mouse and form interaction, jquery css3 to realize mouse and form interaction What are the precautions , the following is a practical case, let’s take a look one time.

The renderings are shown below:

Online preview Source code download

html code:

 

  

  

上传

  

      

  

选择文件

  

 

 

  

  

确定?

  

确定删除

  

 

 

  

     

发送

  

 

 

js code:

$(function () {
  var quttonUpload = Qutton.getInstance($('#qutton_upload'));
  quttonUpload.init({
  icon: 'images/icon_upload.png',
  backgroundColor: '#917466'
  });
  var quttonDelete = Qutton.getInstance($('#qutton_delete'));
  quttonDelete.init({
  icon: 'images/icon_delete.png',
  backgroundColor: "#eb1220"
  });
  var quttonComment = Qutton.getInstance($('#qutton_comment'));
  quttonComment.init({
  icon: 'images/icon_comment.png',
  backgroundColor: "#41aaf1"
  });
 });

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the PHP Chinese website!

Recommended reading:

jQuery creates a responsive image carousel effect

jQuery implements a collection of special effects for text buttons in forms

The above is the detailed content of jquery+css3 realizes mouse and form interaction. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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