You can use this package to convert an image to css box-shadow property.
How to install the package
- Install the package using
npm i -g @tonalmathew/image-to-css
.
Available commands
-
-h
or--help
for help. -
-f
or--file
for entering input file. -
-o
or--output
for the output destination folder name.
How to use
-
Enter
image-to-css -f <file_name> -o <output_folder_name>
-
Entering the above command will create a new folder, and the folder will contain a
index.html
andstyle.css
file. -
You can open the
index.html
file in any browser to see the output.