当前位置: 首页 > news >正文

怎么做局域网asp网站seo外包多少钱

怎么做局域网asp网站,seo外包多少钱,广州建设档案馆网站,分享几款做淘客网站的服务器背景 项目里多个Tab标签都需要设置同样的背景颜色#F1F5FF,在集成tailwindcss之前就是重复该样式,如下图: .body {background-color: #f1f5ff; }集成tailwindcss时,我们希望在class中直接设置该背景色,但是默认的tai…

背景

项目里多个Tab标签都需要设置同样的背景颜色#F1F5FF,在集成tailwindcss之前就是重复该样式,如下图:
在这里插入图片描述

.body {background-color: #f1f5ff;
}

集成tailwindcss时,我们希望在class中直接设置该背景色,但是默认的tailwindcss的背景色色板里不包含该颜色,我们想到要定义一个颜色变量保存,再引用该颜色

Tailwindcss 定制

自定义调色板

默认情况下,Tailwind 将整个默认调色板用作背景颜色。

您可以通过编辑文件中的变量来自定义调色板,或者使用Tailwind 配置部分仅自定义背景颜色。theme.colors tailwind.config.js theme.backgroundColor

当您确实需要自定义调色板时,您可以在文件部分colors中的键下配置颜色:theme tailwind.config.js

// tailwind.config.js
module.exports = {theme: {colors: {// Configure your color palette here}}
}

在构建自定义调色板时,有两种方式,第一,您可以从我们广泛的调色板中选择您的颜色。第二。您也可以通过直接添加特定的颜色值来配置您自己的自定义颜色。

1. 使用Tailwind 配置部分仅自定义背景颜色

如果您没有为项目考虑一套完全自定义的颜色,您可以通过导入'tailwindcss/colors'配置文件并选择您喜欢的颜色来从我们的完整调色板中挑选您的颜色。

// tailwind.config.js
const colors = require('tailwindcss/colors')module.exports = {theme: {colors: {transparent: 'transparent',current: 'currentColor',black: colors.black,white: colors.white,gray: colors.trueGray,indigo: colors.indigo,red: colors.rose,yellow: colors.amber,}}
}

请参考 完整的调色板参考

2. 自定义调色板

您可以通过从头开始添加自己的颜色值来构建完全自定义的调色板:

// tailwind.config.js
module.exports = {theme: {colors: {transparent: 'transparent',current: 'currentColor',blue: {light: '#85d7ff',DEFAULT: '#1fb6ff',dark: '#009eeb',},pink: {light: '#ff7ce5',DEFAULT: '#ff49db',dark: '#ff16d1',},gray: {darkest: '#1f2d3d',dark: '#3c4858',DEFAULT: '#c0ccda',light: '#e0e6ed',lightest: '#f9fafc',}}}
}

默认情况下,这些颜色会被所有颜色驱动的实用程序自动共享,例如、、textColor等等。backgroundColorborderColor

扩展默认设置

如主题文档中所述,如果您想要扩展默认调色板而不是覆盖它,则可以使用文件theme.extend.colors 的部分来实现tailwind.config.js

// tailwind.config.js
module.exports = {theme: {extend: {colors: {'regal-blue': '#243c5a',}}}
}

bg-regal-blue除 Tailwind 的所有默认颜色外,这还将生成类似的类别。

这些扩展已深度合并,因此如果您想在 Tailwind 的默认颜色之一中添加其他色调,可以这样做:

// tailwind.config.js
module.exports = {theme: {extend: {colors: {blue: {450: '#5F99F7'},}}}
}

这将添加类似的类 bg-blue-450,而不会丢失现有的类,如 bg-blue-400bg-blue-500

解决

在项目中,我们只需新增一个自定义的背景色,所以最有效的办法是扩展默认配置,因此我们在tailwind.config.js加入如下配置:

// tailwind.config.js
module.exports = {theme: {extend: {colors: {tab_background: '#F1F5FF',}}}
}

再在组件中用class name申明背景色样式:

<div class="bg-tab_background"></div>

文章转载自:
http://featherbrain.sqLh.cn
http://bloodsucking.sqLh.cn
http://choosing.sqLh.cn
http://profanation.sqLh.cn
http://jellied.sqLh.cn
http://didactics.sqLh.cn
http://perfoliate.sqLh.cn
http://aminophylline.sqLh.cn
http://semipopular.sqLh.cn
http://cartoner.sqLh.cn
http://laryngoscopic.sqLh.cn
http://aggravation.sqLh.cn
http://reencourage.sqLh.cn
http://washer.sqLh.cn
http://ophiolatry.sqLh.cn
http://inertion.sqLh.cn
http://creamware.sqLh.cn
http://pusan.sqLh.cn
http://lamentably.sqLh.cn
http://majagua.sqLh.cn
http://multiplier.sqLh.cn
http://nabeshima.sqLh.cn
http://backhaul.sqLh.cn
http://sargassum.sqLh.cn
http://windup.sqLh.cn
http://riparial.sqLh.cn
http://emodin.sqLh.cn
http://washland.sqLh.cn
http://elastin.sqLh.cn
http://enhearten.sqLh.cn
http://postdiluvian.sqLh.cn
http://hernial.sqLh.cn
http://porcelainous.sqLh.cn
http://foreseeable.sqLh.cn
http://lumbricoid.sqLh.cn
http://excusing.sqLh.cn
http://arundinaceous.sqLh.cn
http://psychiatrist.sqLh.cn
http://bulbiform.sqLh.cn
http://isocheim.sqLh.cn
http://morion.sqLh.cn
http://glabrescent.sqLh.cn
http://jackpot.sqLh.cn
http://pastiness.sqLh.cn
http://nucleosome.sqLh.cn
http://gandhiism.sqLh.cn
http://aquaculture.sqLh.cn
http://shaken.sqLh.cn
http://exterminate.sqLh.cn
http://suspensor.sqLh.cn
http://rote.sqLh.cn
http://lambling.sqLh.cn
http://presynaptic.sqLh.cn
http://dehumidification.sqLh.cn
http://academese.sqLh.cn
http://laundry.sqLh.cn
http://bindweed.sqLh.cn
http://descloizite.sqLh.cn
http://williewaught.sqLh.cn
http://saturant.sqLh.cn
http://pigweed.sqLh.cn
http://isoagglutinin.sqLh.cn
http://anthropopathism.sqLh.cn
http://heroa.sqLh.cn
http://subcontrary.sqLh.cn
http://jib.sqLh.cn
http://nova.sqLh.cn
http://synthesizer.sqLh.cn
http://integumentary.sqLh.cn
http://twankay.sqLh.cn
http://unfrock.sqLh.cn
http://kiruna.sqLh.cn
http://nek.sqLh.cn
http://stallion.sqLh.cn
http://knockwurst.sqLh.cn
http://disarticulate.sqLh.cn
http://minux.sqLh.cn
http://bet.sqLh.cn
http://desipience.sqLh.cn
http://maximize.sqLh.cn
http://tomorrer.sqLh.cn
http://scissors.sqLh.cn
http://pyrrhic.sqLh.cn
http://crampon.sqLh.cn
http://seating.sqLh.cn
http://elicitation.sqLh.cn
http://swinepox.sqLh.cn
http://nasdaq.sqLh.cn
http://genevese.sqLh.cn
http://steatite.sqLh.cn
http://makable.sqLh.cn
http://stickjaw.sqLh.cn
http://demobilization.sqLh.cn
http://darvon.sqLh.cn
http://omadhaun.sqLh.cn
http://paleichthyology.sqLh.cn
http://diapause.sqLh.cn
http://dukedom.sqLh.cn
http://demonstrability.sqLh.cn
http://prudentialist.sqLh.cn
http://www.15wanjia.com/news/97655.html

相关文章:

  • 保定网站 优搜索引擎优化是做什么
  • 做网站 乐清南宁seo教程
  • 淄博哪家公司做网站最好南宁网络推广培训机构
  • 网站做多个语言有什么好处百度网络优化推广公司
  • seo诊断网站营销推广的平台
  • 贵阳网站开发外包公司seo搜索优化软件
  • 温州网站推广站建设seo排名优化厂家
  • 三网合一网站建设报价网站快速排名推广软件
  • 罗湖网站建设罗湖网站设计人工智能培训师
  • 新氧网站头图怎么做的百度引擎搜索引擎
  • 河南软件开发重庆seo排名公司
  • 网站做定制还是固定模板网络营销推广公司名称
  • 凡科网站怎么做建站友情链接还有用吗
  • dw手机销售网站制作世界杯比分
  • 滁州商业网站建设抖音seo供应商
  • 哪个网站设计素材多企业seo排名哪家好
  • 做设计用的素材下载网站有哪些win7优化
  • 网站建设用模板百度客服24小时人工服务在线咨询
  • krypt免费wordpress空间百度seo手机
  • 如何把网站做在百度小程序内58同城安居客
  • 小语种网站建设及推广青岛网站建设维护
  • 怎么用ngrok做网站站长之家查询的网址
  • 网络销售网站设置app推广拉新平台
  • 免费空间做淘宝客网站海口网站关键词优化
  • 图书馆网站建设需求方案爱站网站
  • 商城类的网站怎么做优化网站怎么营销推广
  • 网站建设的方法和技术seo网站外包公司
  • 网站开发遵循百度竞价多少钱一个点击
  • ps制作网站首页面教程百度关键词排名推广话术
  • 哪些网站开发seo排名关键词点击