Colorful border for wsui.
npm i @jswork/wsui-border-colorful
// use sass
@import '~@jswork/wsui-border-colorful/dist/index.scss';
// use css
@import '~@jswork/wsui-border-colorful/dist/style.css';
.box {
width: 80%;
margin: 50px auto;
max-width: 400px;
@include wsui-border-colorful();
> .is-body {
padding: 10px;
}
}
<div class="box">
<div class="is-body">
<figure>
<center><img src="https://tva1.sinaimg.cn/large/007S8ZIlgy1gexw87htqhj305k05k74o.jpg" alt=""></center>
</figure>
<p>道可道,非常道;名可名,非常名。</p>
<p>无名,天地之始,有名,万物之母。</p>
<p>故常无欲,以观其妙,常有欲,以观其徼。</p>
<p>此两者,同出而异名,同谓之玄,玄之又玄,众妙之门。</p>
</div>
</div>
- https://afeiship.github.io/wsui-border-colorful/
- https://css-tricks.com/everything-you-need-to-know-about-date-in-javascript/
Code released under the MIT license.