Why does an error occur when copying the css file of one project to another project?

Source: Internet
Author: User
The two projects are downloaded from Github. I want to copy the css style of Project A to Project B. So I deleted the resourcesassetcss folder of Project B and pasted the css folder of Project. But the new css does not take effect. Why can't I copy it like this? Project A: item...

The two projects are downloaded from Github.
I want to copy the css style of Project A to Project B. So I deleted the resources/asset/css folder of Project B and pasted the css folder of Project. But the new css does not take effect. Why can't I copy it like this?
Project:

Project B:

Thank you ~~

Reply content:

The two projects are downloaded from Github.
I want to copy the css style of Project A to Project B. So I deleted the resources/asset/css folder of Project B and pasted the css folder of Project. But the new css does not take effect. Why can't I copy it like this?
Project:

Project B:

Thank you ~~

The two css folders have the same structure. Otherwise, none of the files can be found.

Even if the file structure is the same, the DOM structure, selector and class name must be the same.

There is a path problem when css files are introduced. simply copying and pasting will cause a path error. Just modify the path.

The folder name is correct. Check if the file name is correct.

Check whether the css file is referenced in your interface, and debug it in the browser to see if the css file has been introduced. If yes, check whether an error is reported, or check whether the css import sequence is wrong.

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.