【文件属性】:
文件名称:tailwindcss-border-gradients:Tailwind CSS插件生成边框图像渐变实用程序
文件大小:157KB
文件格式:ZIP
更新时间:2021-05-12 16:56:45
css gradients border-image tailwindcss tailwindcss-plugin
尾风CSS边框渐变
该插件基于插件。
安装
npm install tailwindcss-border-gradients
使用简单
{
theme : {
colors : {
'red' : '#f00' ,
'blue' : '#00f' ,
} ,
linearBorderGradients : theme => ( {
colors : theme ( 'colors' ) ,
} ) ,
} ,
plugins : [
require ( 'tailwindcss-border-gradients' ) ( ) ,
] ,
}
进阶用法
{
theme : {
linearBorderGradients : {
directions : { // defaul
【文件预览】:
tailwindcss-border-gradients-master
----.gitignore(14B)
----README.md(3KB)
----CHANGELOG.md(824B)
----.github()
--------workflows()
--------dependabot.yml(312B)
--------FUNDING.yml(665B)
----package.json(929B)
----index.js(4KB)
----test.js(12KB)
----package-lock.json(607KB)