when linking the HTML sheet to CSS the changes applied to CSS are not seen when I update the index.html in google / firefox

1

Good for more than I change the address: when making changes to the CSS example

these changes when opening the page in google the changes or the colors remain the same in summary I can not make changes in the css these do not apply

or maybe something I'm doing wrong I am new to this, program that I use Sublime text 3

    
asked by Sword 16.09.2018 в 22:53
source

2 answers

0

First of all make sure that you include your CSS tag inside the <head> tag , you can do it in the following way:

Example using the style tag:

<head>
   ...
   <style type="text/css">
       ...
   </style>
   ...
</head>

In the same way you can include your .css file using link (this form is the most recommended), an example:

<head>
   ...
   <link rel="stylesheet" href="estilo.css">
   ...
</head>

In case you still can not see the changes then you have to force the page reload, in Google Chrome try pressing Ctrl + F5 .

    
answered by 16.09.2018 в 23:09
0

In google chrome, cache data is usually stored that prevents fast changes to the style sheet, you can disable the cache in this way.

press the F12 button and then in the element inspector window you go to the "network" tab and check the "disable cache" option

    
answered by 16.09.2018 в 23:44