sindresorhus / capture-website-cli

Capture screenshots of websites from the command-line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`--style="red.css"` does not work

BananaAcid opened this issue · comments

Style file will not be included?

using the command

. .\node_modules\.bin\capture-website.ps1 https://appjigger.com --output=appjigger.com.jpeg --full-page --style="red.css" --overwrite

red.css:

* {
  background: red !important;
}

Works fine for me with the latest capture-website-cli version:

appjigger com

... for me too :)

On windows, I got a BOM in the file - I guess that broke it. Removing the BOM and the UTF-16 Marker, it seemed to work.