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.