inline-css-cli
v0.0.1
Published
Inline css like a pro
Downloads
246
Readme
inline-css
inline your css like a pro
inline-css -i {souce_file} -o {output/path}
Example
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
</body>
</html>
style.css
body {
color: rebeccapurple; /* lol */
}
.some-class-style {
margin: 0 0 999px 0;
}
will result in
build.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
body {
color: rebeccapurple; /* lol */
}
.some-class-style {
margin: 0 0 999px 0;
}
</style>
</head>
<body>
</body>
</html>
###Install
$ npm i inline-css-cli
$ inline-css