inline-css-cli
0.0.1 • Public • Published 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;
}
.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;
}
.some-class-style {
margin: 0 0 999px 0;
}
</style>
</head>
<body>
</body>
</html>
Install
$ npm i inline-css-cli
$ inline-css
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads