1.0.4 • Published 2 years ago
color-block v1.0.4
COLOR BLOCK
Deadly simple web component to display a colored square. No dependencies !
What you write :
<color-block>#AA66DD</color-block>
What you get :
Works with a lot of css colors, check the complete demo page for examples and install instructions.
DEMO
https://mgohin.github.io/js-color-block/
What's next
This web-component needs to stay simple.
There are probably things to improve (code, build, styles), feel free to post issues, pull-requests etc.