rework-pseudos
v0.3.0
Published
rework pseudo elements support
Downloads
21
Readme
rework-pseudos
rework pseudo elements support
Example
rework(css)
.use(pseudos())
.toString();
::selection
::selection {
color: yellow;
}
yields
::selection {
color: yellow;
}
::-moz-selection {
color: yellow;
}
::placeholder
::placeholder {
color: yellow
}
yields
::-webkit-input-placeholder {
color: yellow;
}
:-ms-input-placeholder {
color: yellow;
}
::-moz-placeholder {
color: yellow;
}
::progress
::progress {
background: yellow;
}
yields
::-webkit-progress-bar {
background: yellow;
}
::-moz-progress-bar {
background: yellow;
}
::-ms-fill {
background: yellow
}
References
Tests
$ make test
License
(MIT)