svenstaro/miniserve

html files background color is changed

Opened this issue · 2 comments

When I click to open an HTML file inside, the CSS background color of the webpage changes. How can I solve this issue?
The left is the HTML opened by Miniserv, and the right is opened directly in the browser.
20231112-222411

Maybe some of the stylesheets for the HTML file aren't loaded? Haved you checked the Network panel in the developer tool?

Also possible:

  • relative and absolute path miss matches
  • borked path in general
  • browser CSS overwrites something... because specificity is a female dog in heat...
  • some browser plugin borked