Home > Blockchain >  How to set width over 100% using Tailwind CSS
How to set width over 100% using Tailwind CSS

Time:12-21

I need to set div width to 110%, but it doesn't seem possible with Tailwind CSS. Their documentation only specifies a 100% value.

w-full  width: 100%;

CodePudding user response:

You can use JIT as width-[110%].

JIT mode is default in Tailwind v3 and these values are called arbitrary values.
In v2 you have to enable JIT mode.

  • Related