Tailwind CSS v3.0 正式发布

栏目: 软件资讯 · 发布时间: 4年前

内容简介:Tailwind CSS v3.0 已正式发布,新版本在性能和工作流优化方面带来了巨大的提升,同时还增加了大量新特性。 Tailwind CSS v2.0 主要更新内容: Just-in-Time, all the time — lightning fast build times, stac...

Tailwind CSS v3.0 已正式发布,新版本在性能和工作流优化方面带来了巨大的提升,同时还增加了大量新特性。

Tailwind CSS v3.0 正式发布

Tailwind CSS v2.0 主要更新内容:

  • Just-in-Time, all the time — lightning fast build times, stackable variants, arbitrary value support, better browser performance, and more.
  • Every color out of the box — including all of the extended palette colors like cyan, rose, fuchsia, and lime, and fifty shades of grey gray.
  • Colored box shadows — for fun glow and reflection effects, and more natural shadows on colored backgrounds.
  • Scroll snap API — a comprehensive and composable set of utilities for CSS-only scroll snapping.
  • Multi-column layout — so you can finally build that online newspaper you’ve been dreaming about.
  • Native form control styling — make checkboxes, radio buttons, and file inputs match your brand without reinventing the wheel.
  • Print modifier — control how your site looks when someone prints it, right from your HTML.
  • Modern aspect ratio API — no more padding hacks, well unless you need to support Safari 14, which you probably do, but still.
  • Fancy underline styles — the missing piece to making that side-project of yours finally take off.
  • RTL and LTR modifiers — for complete control when building multi-directional websites.
  • Portrait and landscape modifiers — honestly just because they were really easy to add.
  • Arbitrary properties — now Tailwind supports CSS properties we’ve never even heard of.
  • Play CDN — the new Just-in-Time engine squeezed into a CDN script that runs right in the browser.
  • Tons of other utilities — including support for touch-action, will-change, flex-basis, text-indent, scroll-behavior, and more.

详细更新说明查看 https://tailwindcss.com/blog/tailwindcss-v3


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

写给大家看的Web设计书

写给大家看的Web设计书

Robin Williams、John Tollett / 苏金国、刘亮 / 人民邮电出版社 / 201005 / 69.00元

在这个网络时代,Web设计几乎已经成为每个人生活的必备技能。如果你想自力更生创建一个网站,或者认为自己的网站在设计上还不尽如人意,希望它看上去更具创意和专业性,那么本书正是为你准备的! 作者Robin和John先采用通俗易懂的方式将有关基础知识娓娓道来,比如Internet、搜索信息、构建简单网页等,然后为我们奉上了精妙的技巧、技术和设计示例来启发大家的设计灵感,比如Web基本设计原则、实现......一起来看看 《写给大家看的Web设计书》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换