When I want to modify the css, it does not make the changes that I make ... even if I delete a line from the css it's like it's always there and I do not understand why ... although the files are php, would there be a problem?
When I want to modify the css, it does not make the changes that I make ... even if I delete a line from the css it's like it's always there and I do not understand why ... although the files are php, would there be a problem?
In chrome and firefox you can force the browser to reload the css styles:
ctr+Shift+R
The problem, sometimes, is that the browser caches you the css, the js and the images. Therefore, a good solution (recommended for development rather than the productive environment) is to put the following in the call to the css script / s:
<link rel="stylesheet" href="/css/mi.css?uuid=<?php echo uniqid();?>">
That is, you generate the call with a query string that varies in each request (in this case, with the uniqid function).
With that, you make sure that the browser never caches the css, since it always interprets it as a "different request".
Be sure to remove it when you go to deploy it in production, unless you want it to not cache it in production either.
Greetings!
It does not affect that it is a php file. Keep in mind that if the element to which you are modifying the css is inside another, the css of the parent element can affect the element in which you want to change the css. I recommend using the FireFox debugger or if you're working with Chrome, use that one, probably modify the css in the debugger.