0.3.0 • Published 11 years ago

rework-pseudos v0.3.0

Weekly downloads
22
License
-
Repository
-
Last release
11 years ago

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
}

See all pseudo elements

References

Tests

$ make test

License

(MIT)

0.3.0

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago