Basic Method for customizing the page style with stylish

Source: Internet
Author: User
Most web designers like to use white as the background color of the web page, because it is easy to color. However, if you stare at a website that uses white as the background color and text for a long time, you will feel white and eye-catching. In this case, I like the color scheme that uses the dark color as the base and the text color as the light green color, just like the color scheme of a term terminal.
If the Firefox browser is used, we can use the stylish plug-in to rewrite the CSS style of a page. Stylish syntax is very simple. There are two basic points:

Reload the existing CSS styles of the current site
To reload the existing CSS style of the current site, you only need to find the class name or ID of the style you want to reload, And you can directly use CSS in stylish to reload the definition. The most important thing is to add it at the end! Important, for example:

# Example {color: Blue! Important ;}

Use the-moz-document rule to specify the webpage address of the custom CSS style. For example:

@-Moz-document domain ('images .example.com '), URL-prefix ('HTTP: // example.com/images '){
/*
[...]

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.