Critical CSS and relative paths
-
I think it’s a good idea to convert relative paths to full paths so that css rules like:
background-image: url(‘../../assets/img/loader.svg’);
Will be converted to something like:
background-image: url(‘https://www.example.com/wp-content/plugins/example/assets/img/loader.svg ‘);otherwise they will probably return 404 error.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Critical CSS and relative paths’ is closed to new replies.