CSS settings in X5

Source: Internet
Author: User

Color Gradient

1 position:absolute;left:0;top:40%;

Click the navigation button to change the color

1. Set the button class to Btn-link (hyperlink)

2. Add a property ID for each navigation button

3. Add the following code to the button's Click event

1 function (event) {2     $ ("#button01"). CSS ("Color", "#008080"); 3     $ ("#button02"). CSS ("Color", "#FFFFFF"); 4     $ ("#button03"). CSS ("Color", "#FFFFFF"); 5     $ ("#button04"). CSS ("Color", "#FFFFFF"); 6 };

Where button01-button04 is the ID of 4 buttons, #008080为点击后的颜色, #FFFFFF为还原的颜色

CSS settings in X5

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.